ignore the fpu if we're doing soft-float
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38941
This commit is contained in:
parent
5de876bc78
commit
7429c46214
1 changed files with 4 additions and 2 deletions
|
@ -231,8 +231,10 @@ ifeq ($(DUMP),1)
|
||||||
CPU_CFLAGS_fa526 = -march=armv4 -mtune=fa526
|
CPU_CFLAGS_fa526 = -march=armv4 -mtune=fa526
|
||||||
CPU_CFLAGS_mpcore = -march=armv6k -mtune=mpcore
|
CPU_CFLAGS_mpcore = -march=armv6k -mtune=mpcore
|
||||||
CPU_CFLAGS_xscale = -march=armv5te -mtune=xscale
|
CPU_CFLAGS_xscale = -march=armv5te -mtune=xscale
|
||||||
CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp
|
ifneq ($(CONFIG_SOFT_FLOAT),)
|
||||||
CPU_CFLAGS_vfpv3 = -mfpu=vfpv3-d16 -mfloat-abi=softfp
|
CPU_CFLAGS_vfp = -mfpu=vfp -mfloat-abi=softfp
|
||||||
|
CPU_CFLAGS_vfpv3 = -mfpu=vfpv3-d16 -mfloat-abi=softfp
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(ARCH),powerpc)
|
ifeq ($(ARCH),powerpc)
|
||||||
CPU_CFLAGS_603e:=-mcpu=603e
|
CPU_CFLAGS_603e:=-mcpu=603e
|
||||||
|
|
Loading…
Reference in a new issue