toolchain/gcc: cleanup softfloat selection
We don't have a BR2_SOFT_FLOAT_FP option, and -mfloat-abi should also be used for big endian ARM. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
e766f13d17
commit
0ac8553664
@ -19,15 +19,11 @@ endif
|
||||
|
||||
ifeq ($(BR2_SOFT_FLOAT),y)
|
||||
SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
|
||||
ifeq ($(BR2_SOFT_FLOAT_FP),y)
|
||||
TARGET_SOFT_FLOAT:=-mfloat-abi=softfp
|
||||
else # no fp at all
|
||||
ifeq ($(BR2_arm),y) # only set float-abi for arm
|
||||
ifeq ($(BR2_arm)$(BR2_armeb),y) # only set float-abi for arm
|
||||
TARGET_SOFT_FLOAT:=-mfloat-abi=soft
|
||||
else
|
||||
TARGET_SOFT_FLOAT:=-msoft-float
|
||||
endif
|
||||
endif
|
||||
ARCH_FPU_SUFFIX:=_nofpu
|
||||
else # no softfloat support
|
||||
SOFT_FLOAT_CONFIG_OPTION:=
|
||||
|
Loading…
Reference in New Issue
Block a user