mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:44:04 +02:00
Move out autotools touching stuff to a macro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5390 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e1f6a3c3ba
commit
d5583787a6
@ -289,7 +289,7 @@ define Build/Prepare
|
|||||||
$(call Build/Prepare/Default,)
|
$(call Build/Prepare/Default,)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure/Default
|
define Build/Configure/Touch
|
||||||
(cd $(PKG_BUILD_DIR) ; \
|
(cd $(PKG_BUILD_DIR) ; \
|
||||||
touch configure.in ; \
|
touch configure.in ; \
|
||||||
touch aclocal.m4 ; \
|
touch aclocal.m4 ; \
|
||||||
@ -300,6 +300,10 @@ define Build/Configure/Default
|
|||||||
touch configure.ac ; \
|
touch configure.ac ; \
|
||||||
touch stamp-h.in ; \
|
touch stamp-h.in ; \
|
||||||
);
|
);
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Configure/Default
|
||||||
|
$(call Build/Configure/Touch)
|
||||||
(cd $(PKG_BUILD_DIR)/$(strip $(3)); \
|
(cd $(PKG_BUILD_DIR)/$(strip $(3)); \
|
||||||
if [ -x configure ]; then \
|
if [ -x configure ]; then \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
Loading…
Reference in New Issue
Block a user