diff options
author | Nicolas Thill <nico@openwrt.org> | 2007-09-03 09:06:03 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2007-09-03 09:06:03 +0000 |
commit | d6114c26006d6b0ee16b31802124a936ceafc75b (patch) | |
tree | 9286b2252c506d0f38842f3553e90b2bf846cdc4 /rules.mk | |
parent | 2750423a702eac91d17015e541e321c657c72f18 (diff) | |
download | upstream-d6114c26006d6b0ee16b31802124a936ceafc75b.tar.gz upstream-d6114c26006d6b0ee16b31802124a936ceafc75b.tar.bz2 upstream-d6114c26006d6b0ee16b31802124a936ceafc75b.zip |
move TARGET_* flags from ./include/package-default.mk to ./rules.mk, remove EXTRA_* flags but still use them in configure and make
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8592 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -56,6 +56,8 @@ endif TARGET_PATH:=$(TOOLCHAIN_DIR)/bin:$(STAGING_DIR_HOST)/bin:$(STAGING_DIR)/usr/bin:$(PATH) 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 export PATH:=$(TARGET_PATH) @@ -82,10 +84,6 @@ ifneq ($(CONFIG_CCACHE),) TARGET_CC:= ccache $(TARGET_CC) endif -EXTRA_CPPFLAGS := -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -EXTRA_CFLAGS := $(EXTRA_CPPFLAGS) -EXTRA_LDFLAGS := -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib - TARGET_CONFIGURE_OPTS:= \ AR=$(TARGET_CROSS)ar \ AS="$(TARGET_CC) -c $(TARGET_CFLAGS)" \ |