From 58c2500e2ab550e28a5edd8369e1cf9b043874d8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 7 Feb 2013 09:04:48 +0000 Subject: [PATCH] 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" Cc: Peter Korsgaard Cc: Arnout Vandecappelle Signed-off-by: Peter Korsgaard --- arch/Config.in.arm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/Config.in.arm b/arch/Config.in.arm index 37152c01a8..79f08f77c8 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" -- 2.30.2