summaryrefslogtreecommitdiffstats
path: root/toolchain/Config.in.2
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-18 10:51:53 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-18 10:51:53 +0000
commit6da70de5034ae3933c6d072378a8860078686200 (patch)
tree13db89b68591f78d408d5af49a0e88f0cba94f22 /toolchain/Config.in.2
parentc86f23b7708cb7eeba91a2764210277c78143dca (diff)
downloadbuildroot-novena-6da70de5034ae3933c6d072378a8860078686200.tar.gz
buildroot-novena-6da70de5034ae3933c6d072378a8860078686200.zip
The liboil Makefile will use "-mcpu=vfp" when building for ARM.
The VFP is only available for a few ARM CPUs at the moment, so this breaks the liboil build. A patch is available upstream which only enables "-mfpu=vfp" if "--enable-vfp" is given to "configure". Autotools needs to be run for liboil for this to take effect. A new configuration BR2_VFP_FLOAT is added to allow enabling vfp. If this is "yes", then "-mfpu=vfp" is added to CFLAGS.
Diffstat (limited to 'toolchain/Config.in.2')
-rw-r--r--toolchain/Config.in.213
1 files changed, 11 insertions, 2 deletions
diff --git a/toolchain/Config.in.2 b/toolchain/Config.in.2
index b8c151506..9fbe60c14 100644
--- a/toolchain/Config.in.2
+++ b/toolchain/Config.in.2
@@ -42,8 +42,17 @@ config BR2_SOFT_FLOAT
Most people will answer N.
-#config BR2_SOFT_FLOAT_FP
-# bool "Use softfp"
+config BR2_VFP_FLOAT
+ bool "Use ARM Vector Floating Point unit"
+ depends on !BR2_SOFT_FLOAT
+ depends on BR2_arm || BR2_armeb
+ help
+ Setting this option will enable the "-mfpu=vfp" option.
+ If your ARM CPU has a Vector Floating Point Unit (VFP)
+ and the toolchain supports the option, then the
+ code can be optimized.
+
+ Most people will answer N.
config BR2_TARGET_OPTIMIZATION
string "Target Optimizations"