configs: lock kernel version for atngw100_defconfig
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 7 Aug 2013 09:54:14 +0000 (11:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 7 Aug 2013 15:49:01 +0000 (17:49 +0200)
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 <thomas.petazzoni@free-electrons.com>
configs/atngw100_defconfig

index 4a779e1512b35c41f1bb4e9a4da3bca5fbeb3c26..492891590b70cbf408c5d61037949cf0e05dd3ab 100644 (file)
@@ -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"