imx6: enable FPU for hard float
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Feb 2014 22:41:39 +0000 (22:41 +0000)
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 27 Feb 2014 22:41:39 +0000 (22:41 +0000)
commit52543289d2a660ed66239bf717db77f6b525ba9f
tree58e7ffc295b46e0fd3fdc2230c39371977a3a965
parent7607196a341d5c7b4e1ac0a86a5e736b7cf1a3ab
imx6: enable FPU for hard float

The OpenWrt build system uses MACHINE_FEATURES of fpu to set the HAS_FPU which
in turn sets the default of CONFIG_SOFT_FLOAT as well as uClibc configuration.
As the IMX6 SoC has both vfpv3 and NEON hardware support we want to add fpu
to the feature list.  This will default the IMX6 target to use -mfloat-abi=hard
which will the be most efficient use of floating point.

When switching to hard float, we also need to enable VFP support in the kernel.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39759 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/imx6/Makefile
target/linux/imx6/config-3.10
target/linux/imx6/config-3.13