Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 58c2500e2ab550e28a5edd8369e1cf9b043874d8 1 parent 124c4e0
@yann-morin-1998 yann-morin-1998 authored Peter Korsgaard committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 arch/Config.in.arm
View
6 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"
Please sign in to comment.
Something went wrong with that request. Please try again.