aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-defaults.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-24 21:05:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-24 21:05:56 +0000
commitac75c5015f4d7b6bf92d612b175f5a630ed14337 (patch)
treeaa5bbad597f26ab437b2f20eafd17123ab7f84c5 /include/package-defaults.mk
parent036a419fe1f7f5b6b731be21ecbe51b3d620b590 (diff)
downloadupstream-ac75c5015f4d7b6bf92d612b175f5a630ed14337.tar.gz
upstream-ac75c5015f4d7b6bf92d612b175f5a630ed14337.tar.bz2
upstream-ac75c5015f4d7b6bf92d612b175f5a630ed14337.zip
fix CONFIGURE_PATH and add MAKE_PATH
SVN-Revision: 6680
Diffstat (limited to 'include/package-defaults.mk')
-rw-r--r--include/package-defaults.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk
index 3ec313bd94..1316cfd32c 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -76,7 +76,7 @@ CONFIGURE_PATH = .
define Build/Configure/Default
(cd $(PKG_BUILD_DIR)/$(strip $(3)); \
- if [ -x configure ]; then \
+ if [ -x $(CONFIGURE_PATH)/configure ]; then \
$(CONFIGURE_VARS) \
$(2) \
$(CONFIGURE_PATH)/configure \
@@ -96,9 +96,11 @@ MAKE_FLAGS = \
CROSS="$(TARGET_CROSS)" \
ARCH="$(ARCH)"
+MAKE_PATH = .
+
define Build/Compile/Default
$(MAKE_VARS) \
- $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \
$(MAKE_FLAGS) \
$(1);
endef