From: Florian Fainelli Date: Thu, 2 Nov 2006 22:44:38 +0000 (+0000) Subject: Move out some generic code to prevent autotools from re-creating files X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e0c9b034400c796a7367ca368ef37db8ae80b649;p=openwrt%2Fstaging%2Frmilecki.git Move out some generic code to prevent autotools from re-creating files SVN-Revision: 5384 --- diff --git a/include/package.mk b/include/package.mk index 5636b0b6a1d..8a10569d6c4 100644 --- a/include/package.mk +++ b/include/package.mk @@ -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) \