aboutsummaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-03 13:54:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-03 13:54:29 +0000
commit127296bc455beff15cdc3830e66fc6d2311e6057 (patch)
treeb2414746d5d9c91c3d8ab8fec287b5e23e1c518f /rules.mk
parent2d1ed46c687f4ec831da97e9209513a8111a0b1a (diff)
downloadupstream-127296bc455beff15cdc3830e66fc6d2311e6057.tar.gz
upstream-127296bc455beff15cdc3830e66fc6d2311e6057.tar.bz2
upstream-127296bc455beff15cdc3830e66fc6d2311e6057.zip
speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
SVN-Revision: 14734
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
index 1bd8667fda..1ccaf41595 100644
--- a/rules.mk
+++ b/rules.mk
@@ -73,6 +73,7 @@ TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
TARGET_LDFLAGS:=-L$(TOOLCHAIN_DIR)/usr/lib -L$(TOOLCHAIN_DIR)/lib -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
LIBGCC_S=$(if $(wildcard $(TOOLCHAIN_DIR)/lib/libgcc_s.so),-lgcc_s,$(wildcard $(TOOLCHAIN_DIR)/lib/gcc/*/*/libgcc.a))
+ifndef DUMP
ifeq ($(CONFIG_NATIVE_TOOLCHAIN),)
-include $(TOOLCHAIN_DIR)/info.mk
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-openwrt-linux$(if $(TARGET_SUFFIX),-$(TARGET_SUFFIX))
@@ -80,6 +81,7 @@ ifeq ($(CONFIG_NATIVE_TOOLCHAIN),)
TARGET_CROSS:=$(if $(TARGET_CROSS),$(TARGET_CROSS),$(OPTIMIZE_FOR_CPU)-openwrt-linux$(if $(TARGET_SUFFIX),-$(TARGET_SUFFIX))-)
TARGET_CFLAGS+= -fhonour-copts
endif
+endif
ifeq ($(CONFIG_SOFT_FLOAT),y)
SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft