From: Felix Fietkau Date: Mon, 4 Jun 2007 11:20:03 +0000 (+0000) Subject: package/refresh should clean all packages before refreshing their patches X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0e25bf25f9d8c66aeddc957d1a132ed4b3f95d9a;p=openwrt%2Fsvn-archive%2Farchive.git package/refresh should clean all packages before refreshing their patches SVN-Revision: 7489 --- diff --git a/package/Makefile b/package/Makefile index 94241dbc3d..d6af3f28f7 100644 --- a/package/Makefile +++ b/package/Makefile @@ -34,6 +34,9 @@ endif %-refresh %-update: -$(MAKE) -C $* $(patsubst $*-%,%,$@) + +%-autorefresh: + -$(MAKE) -C $* clean refresh QUILT=1 # .IGNORE: $(COMPILE_PACKAGES) @@ -46,9 +49,7 @@ clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) prereq: $(PREREQ_PACKAGES) download: $(DOWNLOAD_PACKAGES) compile: $(COMPILE_PACKAGES) -ifneq ($(QUILT),) - refresh: $(patsubst %,%-refresh,$(package-y) $(package-m) $(package-)) -endif +refresh: $(patsubst %,%-autorefresh,$(package-y) $(package-m) $(package-)) install-targets: $(INSTALL_PACKAGES) install: