summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-01 01:06:23 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-01 01:06:23 +0000
commit1519c1896927caffb8bed849cb9288a9bb446f9f (patch)
treeb9d99ee2cfee6fcbfcb18fcb9ad586208bd76091
parent0c84535e00ca6beb9ccd17f3e029588385c58d9c (diff)
some bugfixes and additions for the default compile target
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3886 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/rules.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/package/rules.mk b/package/rules.mk
index 4a8d947161..fe16a18f98 100644
--- a/package/rules.mk
+++ b/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