From 5d30e6cb47c4e4105e2b9c4c28de6d34a0385923 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Fri, 4 Aug 2006 11:59:52 +0000 Subject: set PATH in rules.mk SVN-Revision: 4438 --- openwrt/include/package.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openwrt/include/package.mk') diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk index 79c29bc..385a846 100644 --- a/openwrt/include/package.mk +++ b/openwrt/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" \ -- cgit v1.1