The liboil Makefile will use "-mcpu=vfp" when building for ARM.
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 18 Jan 2009 10:51:53 +0000 (10:51 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 18 Jan 2009 10:51:53 +0000 (10:51 -0000)
commit6da70de5034ae3933c6d072378a8860078686200
tree13db89b68591f78d408d5af49a0e88f0cba94f22
parentc86f23b7708cb7eeba91a2764210277c78143dca
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.
package/Makefile.in
package/liboil/liboil-vfp.patch [new file with mode: 0644]
package/liboil/liboil.mk
toolchain/Config.in.2