From: Felix Fietkau Date: Thu, 1 Jun 2006 01:06:23 +0000 (+0000) Subject: some bugfixes and additions for the default compile target X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=12090bfed09f3ab5190a619a947b9a8e33ee5108;p=lede.git some bugfixes and additions for the default compile target SVN-Revision: 3886 --- diff --git a/openwrt/package/rules.mk b/openwrt/package/rules.mk index 4a8d947161..fe16a18f98 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