aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-08 14:36:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-08 14:36:56 +0000
commit480866d036f04ebcc2fec91e2dc1cf9bf9952f4f (patch)
tree3205346c7fb7fe7b1756555eb4b8c885609fb968 /include
parent8bf94ced4e3826f58e9da18e49af1ac7f8ed73ac (diff)
downloadupstream-480866d036f04ebcc2fec91e2dc1cf9bf9952f4f.tar.gz
upstream-480866d036f04ebcc2fec91e2dc1cf9bf9952f4f.tar.bz2
upstream-480866d036f04ebcc2fec91e2dc1cf9bf9952f4f.zip
allow package directories to override the path to configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5722 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/package.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index cf8771a5ef..1edac0e0ac 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -14,6 +14,7 @@ include $(INCLUDE_DIR)/prereq.mk
include $(INCLUDE_DIR)/host.mk
include $(INCLUDE_DIR)/unpack.mk
+PKG_CONFIG_PATH:=.
export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)
define Build/DefaultTargets
@@ -297,7 +298,7 @@ define Build/Configure/Default
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
$(2) \
- ./configure \
+ $(PKG_CONFIG_PATH)/configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \