X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/aae7cc96574a0e1f4985036025d8faafb32064fc..5e8368aba49d428e6b733dea0fb8db925c5a3d9b:/include/package.mk?ds=sidebyside diff --git a/include/package.mk b/include/package.mk index 8a10569d6..bada11f13 100644 --- a/include/package.mk +++ b/include/package.mk @@ -289,13 +289,21 @@ define Build/Prepare $(call Build/Prepare/Default,) endef -define Build/Configure/Default +define Build/Configure/Touch (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 ; \ - ); + touch configure.in ; \ + touch aclocal.m4 ; \ + touch Makefile.in ; \ + touch configure ; \ + touch acinclude.m4 ; \ + touch config.h.in ; \ + touch configure.ac ; \ + touch stamp-h.in ; \ + ); +endef + +define Build/Configure/Default + $(call Build/Configure/Touch) (cd $(PKG_BUILD_DIR)/$(strip $(3)); \ if [ -x configure ]; then \ $(TARGET_CONFIGURE_OPTS) \