summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-01 01:06:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-01 01:06:23 +0000
commit12090bfed09f3ab5190a619a947b9a8e33ee5108 (patch)
tree8f372908581355b07659502f10d010f9939c184b /openwrt/package
parentc8ec7f76470dddcce6139cc2db28195052a71126 (diff)
downloadmtk-20170518-12090bfed09f3ab5190a619a947b9a8e33ee5108.zip
mtk-20170518-12090bfed09f3ab5190a619a947b9a8e33ee5108.tar.gz
mtk-20170518-12090bfed09f3ab5190a619a947b9a8e33ee5108.tar.bz2
some bugfixes and additions for the default compile target
SVN-Revision: 3886
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/rules.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk
index 4a8d947..fe16a18 100644
--- a/openwrt/package/rules.mk
+++ b/openwrt/package/rules.mk
@@ -235,10 +235,8 @@ define Build/Compile/Default
$(TARGET_CONFIGURE_OPTS) \
CC=$(TARGET_CC) \
CROSS="$(TARGET_CROSS)" \
- PREFIX="$$(IDIR_$(1))" \
- EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
+ EXTRA_CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include" \
ARCH="$(ARCH)" \
- DESTDIR="$$(IDIR_$(1))" \
$(1);
endef