summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-04-21 09:49:08 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-04-21 09:49:08 +0200
commitc13b3fa2eacc40d9b254d0f1c0db8e5c7c501992 (patch)
tree004019e4173f551e5d75974a888f2a22bd8367a6
parent3687f38d9f2e16faf89c392c0caaada912a79050 (diff)
downloadembtoolkit-c13b3fa2eacc40d9b254d0f1c0db8e5c7c501992.tar.gz
embtoolkit-c13b3fa2eacc40d9b254d0f1c0db8e5c7c501992.tar.bz2
embtoolkit-c13b3fa2eacc40d9b254d0f1c0db8e5c7c501992.tar.xz
kconfig entries: ARM: fix unmet direct dependencies warning when floating point is selected
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--kconfig/arch-variant.kconfig8
-rw-r--r--kconfig/arch/arm/arm.kconfig12
2 files changed, 10 insertions, 10 deletions
diff --git a/kconfig/arch-variant.kconfig b/kconfig/arch-variant.kconfig
index 209ba52..97fa427 100644
--- a/kconfig/arch-variant.kconfig
+++ b/kconfig/arch-variant.kconfig
@@ -1,6 +1,6 @@
################################################################################
# Embtoolkit
-# Copyright(C) 2009-2012 Abdoulaye Walsimou GAYE.
+# Copyright(C) 2009-2013 Abdoulaye Walsimou GAYE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -40,15 +40,15 @@ choice
config EMBTK_SOFTFLOAT
bool "Soft floating point"
help
- Select if your CPU does not have hardware floating point unit or
- kernel floating point emulation.
+ Select if your CPU does not have hardware floating point unit or
+ kernel floating point emulation.
config EMBTK_HARDFLOAT
bool "Hard floating point"
depends on EMBTK_TARGET_ARCH_MAYUSE_FPU
select KEMBTK_UCLIBC_UCLIBC_HAS_FPU if EMBTK_CLIB_UCLIBC
help
- Select if your CPU has a hardware floating point unit.
+ Select if your CPU has a hardware floating point unit.
endchoice
if EMBTK_ARCH_ARM && EMBTK_HARDFLOAT
diff --git a/kconfig/arch/arm/arm.kconfig b/kconfig/arch/arm/arm.kconfig
index 97d91bf..e6929d0 100644
--- a/kconfig/arch/arm/arm.kconfig
+++ b/kconfig/arch/arm/arm.kconfig
@@ -73,32 +73,32 @@ choice
config EMBTK_ARCH_ARM_FAMILY_ARM9E
bool "arm9e"
select EMBTK_TARGET_ARCH_MAYUSE_FPU
- select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL
+ select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL if EMBTK_HARDFLOAT
config EMBTK_ARCH_ARM_FAMILY_ARM10E
bool "arm10e"
select EMBTK_TARGET_ARCH_MAYUSE_FPU
- select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL
+ select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL if EMBTK_HARDFLOAT
config EMBTK_ARCH_ARM_FAMILY_XSCALE
bool "xscale"
select EMBTK_TARGET_ARCH_MAYUSE_FPU
- select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL
+ select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL if EMBTK_HARDFLOAT
config EMBTK_ARCH_ARM_FAMILY_ARM11
bool "arm11"
select EMBTK_TARGET_ARCH_MAYUSE_FPU
- select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL
+ select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL if EMBTK_HARDFLOAT
config EMBTK_ARCH_ARM_FAMILY_CORTEX
bool "cortex"
select EMBTK_TARGET_ARCH_MAYUSE_FPU
- select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL
+ select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL if EMBTK_HARDFLOAT
config EMBTK_ARCH_ARM_FAMILY_IWMMXT
bool "iwmmxt"
select EMBTK_TARGET_ARCH_MAYUSE_FPU
- select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL
+ select EMBTK_ARCH_ARM_MAYUSE_FPU_ALL if EMBTK_HARDFLOAT
endchoice
choice