binutils: fix toolchain build on arm.

This commit is contained in:
Arne Fitzenreiter
2011-09-23 14:41:27 +00:00
parent f7623512be
commit 538ce515fd

View File

@@ -55,15 +55,12 @@ else
endif
endif
EXTRA_CONFIG += --build=$(BUILDTARGET)
ifeq "$(MACHINE_TYPE)" "arm"
EXTRA_CONFIG += \
--host=$(BUILDTARGET) \
--build=$(BUILDTARGET) \
--target=$(BUILDTARGET) \
--with-abi=aapcs-linux \
--with-float=soft
else
EXTRA_CONFIG += --build=$(BUILDTARGET)
endif
###############################################################################