Move out some generic code to prevent autotools from re-creating files

SVN-Revision: 5384
This commit is contained in:
Florian Fainelli 2006-11-02 22:44:38 +00:00
parent fca8589540
commit e0c9b03440
1 changed files with 6 additions and 0 deletions

View File

@ -290,6 +290,12 @@ define Build/Prepare
endef
define Build/Configure/Default
(cd $(PKG_BUILD_DIR) ; \
[ -e configure.in ] && touch configure.in ; \
[ -e aclocal.m4 ] && touch aclocal.m4 ; \
[ -e Makefile.in ] && touch Makefile.in ; \
[ -e configure ] && touch configure ; \
);
(cd $(PKG_BUILD_DIR)/$(strip $(3)); \
if [ -x configure ]; then \
$(TARGET_CONFIGURE_OPTS) \