aboutsummaryrefslogtreecommitdiff
path: root/linux/Config.in
diff options
context:
space:
mode:
authorGravatar Christophe PRIOUZEAU <christophe.priouzeau@st.com>2018-05-31 13:21:34 +0000
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-06-01 16:37:48 +0200
commitf13477b68fc228709764262431faf3458c28ccab (patch)
treeab2c65e58e5d8287d4972d1fab1bfea38aa046e9 /linux/Config.in
parent17f352acdebd4a825903807f8a2d60ebea223afb (diff)
downloadbuildroot-f13477b68fc228709764262431faf3458c28ccab.tar.gz
buildroot-f13477b68fc228709764262431faf3458c28ccab.tar.bz2
linux: config.in: add comment for Arm Cortex-M
When binutils > 2.28 are selected on Arm Cortex-M cpu, linux kernel does not boot due to a new implementation of 'adr pseudo instruction' on binutils. Bugzilla thread: https://bugs.busybox.net/show_bug.cgi?id=11051 Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'linux/Config.in')
-rw-r--r--linux/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/Config.in b/linux/Config.in
index 73a3299b8f..b5957b61d3 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -8,6 +8,10 @@ config BR2_LINUX_KERNEL
if BR2_LINUX_KERNEL
+comment "Linux kernel will not boot with binutils >= 2.29"
+ depends on BR2_ARM_CPU_ARMV7M
+ depends on !BR2_BINUTILS_VERSION_2_28_X
+
# Packages that need to have a kernel with support for loadable modules,
# but do not use the kernel-modules infrastructure, should select that
# option.