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

SVN-Revision: 5384
master
Florian Fainelli 18 years ago
parent fca8589540
commit e0c9b03440
  1. 6
      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) \

Loading…
Cancel
Save