Przeglądaj źródła

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

SVN-Revision: 5384
Florian Fainelli 19 lat temu
rodzic
commit
e0c9b03440
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      include/package.mk

+ 6 - 0
include/package.mk

@@ -290,6 +290,12 @@ define Build/Prepare
 endef
 endef
 
 
 define Build/Configure/Default
 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)); \
 	(cd $(PKG_BUILD_DIR)/$(strip $(3)); \
 	if [ -x configure ]; then \
 	if [ -x configure ]; then \
 		$(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_CONFIGURE_OPTS) \