summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-02-07 09:04:48 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-02-07 20:39:26 +0100
commit58c2500e2ab550e28a5edd8369e1cf9b043874d8 (patch)
tree38147f9aec86a932909af152a9629d8329eba8bf
parent124c4e040af817951ceb67bab04e2575269c827a (diff)
downloadbuildroot-novena-58c2500e2ab550e28a5edd8369e1cf9b043874d8.tar.gz
buildroot-novena-58c2500e2ab550e28a5edd8369e1cf9b043874d8.zip
arch/arm: fix-up the ARM Kconfig warning
Kconfig does not accepts that a symbol that is part of a choice be affected a default value. Fix this by introducing a dummy EABI symbol, and make the real EABI symbol a prompt-less option that depends on !OABI. [Peter: drop arm dependency, rename to EABI_CHOICE] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--arch/Config.in.arm6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/Config.in.arm b/arch/Config.in.arm
index 37152c01a..79f08f77c 100644
--- a/arch/Config.in.arm
+++ b/arch/Config.in.arm
@@ -76,7 +76,7 @@ choice
Note:
Using OABI is discouraged.
-config BR2_ARM_EABI
+config BR2_ARM_EABI_CHOICE
bool "EABI"
config BR2_ARM_OABI
bool "OABI"
@@ -84,8 +84,8 @@ config BR2_ARM_OABI
endchoice
config BR2_ARM_EABI
- default y
- depends on !BR2_DEPRECATED
+ def_bool y
+ depends on !BR2_ARM_OABI
config BR2_ARM_ENABLE_NEON
bool "Enable NEON SIMD extension support"