From: Thomas Petazzoni Date: Wed, 7 Aug 2013 09:54:14 +0000 (+0200) Subject: configs: lock kernel version for atngw100_defconfig X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae6130953d68406611c5459c513b0d78dfc2f40e;p=buildroot.git configs: lock kernel version for atngw100_defconfig The 3.10.x kernels fail to build with the following message: vsprintf.c:(.text+0x17e0): relocation truncated to fit: R_AVR32_16N_PCREL against symbol `_ctype' defined in .text section in lib/lib.a(ctype.o) While this is most likely a toolchain issue, but since AVR32 isn't a well-maintained architecture, there's not much we can do. Signed-off-by: Thomas Petazzoni --- diff --git a/configs/atngw100_defconfig b/configs/atngw100_defconfig index 4a779e1512..492891590b 100644 --- a/configs/atngw100_defconfig +++ b/configs/atngw100_defconfig @@ -1,6 +1,10 @@ # Architecture BR2_avr32=y +# Lock down kernel headers version, to match the kernel version used +# below. +BR2_KERNEL_HEADERS_3_9=y + # Filesystems BR2_TARGET_ROOTFS_JFFS2=y BR2_TARGET_ROOTFS_JFFS2_FLASH_128=y @@ -17,6 +21,10 @@ BR2_TARGET_UBOOT_BOARDNAME="atngw100" BR2_TARGET_UBOOT_CUSTOM_VERSION=y BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2010.09" -# Kernel +# Kernel. Locked to 3.9.x, because 3.10.x fails to build with +# relocation truncated to fit: R_AVR32_16N_PCREL against symbol +# `_ctype' BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.9.11" BR2_LINUX_KERNEL_DEFCONFIG="atngw100"