{armv7l,aarch64}-linux: build all kernel modules

This commit is contained in:
Nikolay Amiantov 2017-03-23 03:06:09 +03:00 committed by Tuomas Tynkkynen
parent c0e77dba0e
commit 250ab7a26a

View file

@ -413,9 +413,18 @@ rec {
kernelBaseConfig = "multi_v7_defconfig";
kernelArch = "arm";
kernelDTB = true;
kernelAutoModules = false;
kernelAutoModules = true;
kernelPreferBuiltin = true;
uboot = null;
kernelTarget = "zImage";
kernelExtraConfig =
''
# Fix broken sunxi-sid nvmem driver.
TI_CPTS y
# Hangs ODROID-XU4
ARM_BIG_LITTLE_CPUIDLE n
'';
gcc = {
# Some table about fpu flags:
# http://community.arm.com/servlet/JiveServlet/showImage/38-1981-3827/blogentry-103749-004812900+1365712953_thumb.png
@ -447,32 +456,21 @@ rec {
kernelBaseConfig = "defconfig";
kernelArch = "arm64";
kernelDTB = true;
kernelAutoModules = false;
kernelAutoModules = true;
kernelPreferBuiltin = true;
kernelExtraConfig = ''
# Raspberry Pi 3 stuff. Not needed for kernels >= 4.10.
ARCH_BCM2835 y
BCM2835_MBOX y
BCM2835_WDT y
BRCMFMAC m
DMA_BCM2835 m
DRM_VC4 m
I2C_BCM2835 m
PWM_BCM2835 m
RASPBERRYPI_FIRMWARE y
RASPBERRYPI_POWER y
SERIAL_8250_BCM2835AUX y
SERIAL_8250_EXTENDED y
SERIAL_8250_SHARE_IRQ y
SND_BCM2835_SOC_I2S m
SPI_BCM2835AUX m
SPI_BCM2835 m
# Cavium ThunderX stuff.
PCI_HOST_THUNDER_ECAM y
THUNDER_NIC_RGX y
THUNDER_NIC_BGX y
THUNDER_NIC_PF y
THUNDER_NIC_VF y
'';
uboot = null;
kernelTarget = "Image";