diff options
author | Mike Baker <mbm@openwrt.org> | 2006-08-04 11:59:52 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-08-04 11:59:52 +0000 |
commit | 2ffe012ebb6fe6bf1bd8db2305e50d2dc30453a3 (patch) | |
tree | bb3c8c78272da1db2c627224d42bacf420caa36d /include/package.mk | |
parent | b858ed4dbae8d5f47a52631ca20a1d681300f029 (diff) | |
download | upstream-2ffe012ebb6fe6bf1bd8db2305e50d2dc30453a3.tar.gz upstream-2ffe012ebb6fe6bf1bd8db2305e50d2dc30453a3.tar.bz2 upstream-2ffe012ebb6fe6bf1bd8db2305e50d2dc30453a3.zip |
set PATH in rules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4438 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/package.mk')
-rw-r--r-- | include/package.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/package.mk b/include/package.mk index 79c29bccf6..385a846537 100644 --- a/include/package.mk +++ b/include/package.mk @@ -251,11 +251,11 @@ endef define Build/Configure/Default @(cd $(PKG_BUILD_DIR)/$(3); \ [ -x configure ] && \ - $(2) \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + $(2) \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ @@ -283,7 +283,7 @@ define Build/Configure endef define Build/Compile/Default - PATH=$(TARGET_PATH) $(MAKE) -C $(PKG_BUILD_DIR) \ + $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ CROSS="$(TARGET_CROSS)" \ EXTRA_CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include" \ |