X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/485f94fe07b7377fcf01730884b923ccea56b743..50dcf5b0d071e212c11083beb38005194387d4e8:/package/mtr/Makefile diff --git a/package/mtr/Makefile b/package/mtr/Makefile index 97b3cf278..f49f2ed86 100644 --- a/package/mtr/Makefile +++ b/package/mtr/Makefile @@ -1,3 +1,5 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=mtr @@ -15,8 +17,15 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,MTR,mtr,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared - (cd $(PKG_BUILD_DIR); \ +$(PKG_BUILD_DIR)/.configured: + (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \ + touch configure.in; \ + touch aclocal.m4; \ + touch Makefile.in; \ + touch img/Makefile.in; \ + touch stamp-h.in; \ + touch config.h.in; \ + touch configure; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \