ARM: vfp: use -mfloat-abi=soft to build vfp
authorArnd Bergmann <arnd@arndb.de>
Sat, 27 Aug 2011 20:09:36 +0000 (22:09 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 1 Oct 2011 19:08:55 +0000 (21:08 +0200)
commit82b9c18dc0ee38b5c78c5d09b9cffc79d98613c5
tree0f1afc6e43a06b849350eca5f97fa4e42583174c
parentffc660c51b66312938e25fd6af24e3defdd0bc1b
ARM: vfp: use -mfloat-abi=soft to build vfp

Distros are starting to ship with toolchains defaulting to
hardfloat. Using such a compiler to build the kernel fails
in the VFP directory with

arch/arm/vfp/entry.S:1:0: sorry, unimplemented: -mfloat-abi=hard and VFP

Adding -mfloat-abi=soft to the gcc command line fixes this.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/vfp/Makefile