diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-03-24 21:05:56 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-03-24 21:05:56 +0000 |
commit | 4b058739e5e2443c62167c52188025215218a1f9 (patch) | |
tree | dc89bea282d168dec795ab4bbd243e419e4eeab1 /include | |
parent | 2661709d13c12152322ee08370adf0c05456348a (diff) | |
download | upstream-4b058739e5e2443c62167c52188025215218a1f9.tar.gz upstream-4b058739e5e2443c62167c52188025215218a1f9.tar.bz2 upstream-4b058739e5e2443c62167c52188025215218a1f9.zip |
fix CONFIGURE_PATH and add MAKE_PATH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6680 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/package-defaults.mk | 6 |
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 |