From: nbd 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.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=cca016f893833bb00fa62055d7160158a38aa740;hp=82a81707d83ea55c1ead149fbceee231e54bf998 package/refresh should clean all packages before refreshing their patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7489 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/Makefile b/package/Makefile index 94241dbc3..d6af3f28f 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: