FPU type should not interfere with the ABI selection. Also make sure we either do real soft-float or hard-float on ARM, with the right options.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38943
This commit is contained in:
@@ -232,8 +232,8 @@ ifeq ($(DUMP),1)
|
||||
CPU_CFLAGS_mpcore = -march=armv6k -mtune=mpcore
|
||||
CPU_CFLAGS_xscale = -march=armv5te -mtune=xscale
|
||||
ifneq ($(CONFIG_SOFT_FLOAT),)
|
||||
CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp
|
||||
CPU_CFLAGS_vfpv3 = -mfpu=vfpv3-d16 -mfloat-abi=softfp
|
||||
CPU_CFLAGS_vfp = -mfpu=vfp
|
||||
CPU_CFLAGS_vfpv3 = -mfpu=vfpv3-d16
|
||||
endif
|
||||
endif
|
||||
ifeq ($(ARCH),powerpc)
|
||||
|
||||
Reference in New Issue
Block a user