Permalink
Browse files

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>
  • Loading branch information...
1 parent 124c4e0 commit 58c2500e2ab550e28a5edd8369e1cf9b043874d8 @yann-morin-1998 yann-morin-1998 committed with jacmet Feb 7, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 arch/Config.in.arm
View
@@ -76,16 +76,16 @@ choice
Note:
Using OABI is discouraged.
-config BR2_ARM_EABI
+config BR2_ARM_EABI_CHOICE
bool "EABI"
config BR2_ARM_OABI
bool "OABI"
depends on !BR2_GCC_VERSION_4_7_X
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"

0 comments on commit 58c2500

Please sign in to comment.