From cca016f893833bb00fa62055d7160158a38aa740 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 4 Jun 2007 11:20:03 +0000 Subject: 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 --- package/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'package/Makefile') 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: -- cgit v1.2.3