From 96941a9f51b302c4bee906f06fcac100049f5874 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 8 Mar 2014 00:25:06 +0100 Subject: 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" Cc: Thomas Petazzoni Cc: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- configs/armadeus_apf27_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/armadeus_apf27_defconfig') diff --git a/configs/armadeus_apf27_defconfig b/configs/armadeus_apf27_defconfig index 26f313e2b1..7e33a41f19 100644 --- a/configs/armadeus_apf27_defconfig +++ b/configs/armadeus_apf27_defconfig @@ -5,6 +5,7 @@ BR2_arm926t=y # Lock down headers to avoid breaking with new defaults BR2_KERNEL_HEADERS_VERSION=y BR2_DEFAULT_KERNEL_VERSION="3.13.2" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13=y # System BR2_TARGET_GENERIC_HOSTNAME="apf27" -- cgit v1.2.3