mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user