diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2007-12-28 18:06:47 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2007-12-28 18:06:47 +0000 |
commit | 08e9c42e677999f887c9dd0b3367c7d669f8a1c7 (patch) | |
tree | 98edbe569302e589683a6a06528895a834d11962 /rules.mk | |
parent | 643ab9877cd07fe334de4b9f1f26fe01a4d2e6f2 (diff) | |
download | upstream-08e9c42e677999f887c9dd0b3367c7d669f8a1c7.tar.gz upstream-08e9c42e677999f887c9dd0b3367c7d669f8a1c7.tar.bz2 upstream-08e9c42e677999f887c9dd0b3367c7d669f8a1c7.zip |
fixup softfloat handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10003 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -61,6 +61,13 @@ TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) -fhonour-copts TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include TARGET_LDFLAGS:=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib +ifeq ($(CONFIG_SOFT_FLOAT),y) +SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft +TARGET_CFLAGS+=-msoft-float +else +SOFT_FLOAT_CONFIG_OPTION:= +endif + export PATH:=$(TARGET_PATH) export STAGING_DIR export GCC_HONOUR_COPTS:=0 |