Skip to content
Snippets Groups Projects
Commit 7af8ef7b authored by Florian Fainelli's avatar Florian Fainelli
Browse files

Move out autotools touching stuff to a macro

SVN-Revision: 5390
parent c61c489a
No related branches found
No related tags found
No related merge requests found
...@@ -289,7 +289,7 @@ define Build/Prepare ...@@ -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 ; \
...@@ -299,7 +299,11 @@ define Build/Configure/Default ...@@ -299,7 +299,11 @@ define Build/Configure/Default
touch config.h.in ; \ touch config.h.in ; \
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) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment