mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 21:37:10 +02:00
fix CONFIGURE_PATH and add MAKE_PATH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6680 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4eff8fed4c
commit
5d0a9887c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user