summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-08-07 09:54:14 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-08-07 15:49:01 (GMT)
commitae6130953d68406611c5459c513b0d78dfc2f40e (patch)
tree7e871535eb731075474ef99ece13d0f0e1668b6e
parent8ffc999d851a590091bad44d623364f4c9105989 (diff)
downloadbuildroot-ae6130953d68406611c5459c513b0d78dfc2f40e.tar.gz
buildroot-ae6130953d68406611c5459c513b0d78dfc2f40e.tar.bz2
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 <thomas.petazzoni@free-electrons.com>
-rw-r--r--configs/atngw100_defconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/configs/atngw100_defconfig b/configs/atngw100_defconfig
index 4a779e1..4928915 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"