summaryrefslogtreecommitdiff
path: root/include/package.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-25 23:55:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-25 23:55:53 +0000
commit6d6b1ac683e88027d9953d2be7c9a2c7b56217b3 (patch)
treebbefc02734d93e345d9ce113532ee3c3fe02d5f1 /include/package.mk
parent81adfb13aad5ad7596f0b694ee40641a30cf7016 (diff)
downloadmtk-20170518-6d6b1ac683e88027d9953d2be7c9a2c7b56217b3.zip
mtk-20170518-6d6b1ac683e88027d9953d2be7c9a2c7b56217b3.tar.gz
mtk-20170518-6d6b1ac683e88027d9953d2be7c9a2c7b56217b3.tar.bz2
rename PKG_CONFIGURE_PATH to CONFIGURE_PATH for consistency
SVN-Revision: 6376
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/package.mk b/include/package.mk
index 0400d08..c8a2a6a 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -14,7 +14,6 @@ include $(INCLUDE_DIR)/prereq.mk
include $(INCLUDE_DIR)/host.mk
include $(INCLUDE_DIR)/unpack.mk
-PKG_CONFIGURE_PATH:=.
export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)
define Build/DefaultTargets
@@ -313,12 +312,14 @@ CONFIGURE_VARS:= \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig"
+CONFIGURE_PATH:=.
+
define Build/Configure/Default
(cd $(PKG_BUILD_DIR)/$(strip $(3)); \
if [ -x configure ]; then \
$(CONFIGURE_VARS) \
$(2) \
- $(PKG_CONFIGURE_PATH)/configure \
+ $(CONFIGURE_PATH)/configure \
$(CONFIGURE_ARGS) \
$(1); \
fi; \