defconfigs: use the new headers-version-same-as-kernel-version option
Now that we can say that the linux headers version should match that of the kernel to be built, we inverse the logic in our defconfigs, as it is more sensible that way. And also because we'll get rid of the former, converse kernel-same-as-headers option. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
e4749b826c
commit
036ac26a29
@ -3,8 +3,6 @@ BR2_arm=y
|
||||
BR2_arm926t=y
|
||||
|
||||
# toolchain
|
||||
BR2_KERNEL_HEADERS_VERSION=y
|
||||
BR2_DEFAULT_KERNEL_VERSION="3.19.2"
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19=y
|
||||
|
||||
# system
|
||||
@ -12,7 +10,8 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
|
||||
|
||||
# kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_SAME_AS_HEADERS=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.19.2"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="mxs"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
|
@ -4,10 +4,6 @@ BR2_arm1136jf_s_r0=y
|
||||
BR2_ARM_EABIHF=y
|
||||
|
||||
# toolchain
|
||||
BR2_KERNEL_HEADERS_VERSION=y
|
||||
# Note: sadly the Linux kernel will not boot on the i.MX31 PDK, starting with
|
||||
# v3.16 and at least up to v4.0-rc4; this is why we use v3.15.y here.
|
||||
BR2_DEFAULT_KERNEL_VERSION="3.15.10"
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15=y
|
||||
|
||||
# system
|
||||
@ -15,7 +11,10 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
|
||||
|
||||
# kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_SAME_AS_HEADERS=y
|
||||
# Note: sadly the Linux kernel will not boot on the i.MX31 PDK, starting with
|
||||
# v3.16 and at least up to v4.0-rc4; this is why we use v3.15.y here.
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.15.10"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
BR2_TARGET_ROOTFS_CPIO_GZIP=y
|
||||
|
@ -1,19 +1,26 @@
|
||||
# architecture
|
||||
BR2_i386=y
|
||||
BR2_x86_i586=y
|
||||
|
||||
# Lock headers version to match and avoid breakage
|
||||
BR2_KERNEL_HEADERS_VERSION=y
|
||||
BR2_DEFAULT_KERNEL_VERSION="3.17.8"
|
||||
# toolchain
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17=y
|
||||
|
||||
# system
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS1"
|
||||
BR2_ROOTFS_OVERLAY="board/ts/ts5x00/fs-overlay"
|
||||
|
||||
# kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_SAME_AS_HEADERS=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.17.8"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/ts/ts5x00/linux-3.17.config"
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
|
||||
# rootfs
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
|
||||
# bootloader
|
||||
BR2_TARGET_SYSLINUX=y
|
||||
BR2_TARGET_SYSLINUX_MBR=y
|
||||
|
Loading…
Reference in New Issue
Block a user