aboutsummaryrefslogtreecommitdiff
path: root/configs/beaglebone_defconfig
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2014-03-08 00:25:06 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-08 09:41:15 +0100
commit96941a9f51b302c4bee906f06fcac100049f5874 (patch)
tree106dfd7c0db56b0317c7dcdec21668a182344fac /configs/beaglebone_defconfig
parentb92099df62f151490dc5f7008026c5ba7fb9606b (diff)
downloadbuildroot-96941a9f51b302c4bee906f06fcac100049f5874.tar.gz
buildroot-96941a9f51b302c4bee906f06fcac100049f5874.tar.bz2
defconfigs: add the _AT_LEAST_X_Y headers options
Since commit 2a5cf5e (check kernel headers version), we also need to specify the series of the custom kernel headers version. The defconfigs file that define such a custom kernel headers version now fail to build. Add the required _AT_LEAST_X_Y options to those config files. Done with this (convoluted but very fast, uch faster ythan manual editing!) rule: for f in $( git grep -l BR2_DEFAULT_KERNEL_VERSION=\"3 ); do grep -E '^BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_' "${f}" >/dev/null && continue sed -r -e '/^(BR2_DEFAULT_KERNEL_VERSION="3\.([[:digit:]]+).*")$/s//\1\nBR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_\2=y/' "${f}" done Only kernels >= 3.0 need those options in the defconfig, since the default for 2.6.x kernels is correct (selects _AT_LEAST_2_6), and the default is not saved in a defconfig. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'configs/beaglebone_defconfig')
-rw-r--r--configs/beaglebone_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/beaglebone_defconfig b/configs/beaglebone_defconfig
index 15220ed2c0..3181c66094 100644
--- a/configs/beaglebone_defconfig
+++ b/configs/beaglebone_defconfig
@@ -17,6 +17,7 @@ BR2_TARGET_ROOTFS_EXT2=y
# lock down headers to avoid breaking with new defaults
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.12.10"
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12=y
# bootloader
BR2_TARGET_UBOOT=y