package/refresh should clean all packages before refreshing their patches

SVN-Revision: 7489
owl
Felix Fietkau 2007-06-04 11:20:03 +00:00
parent 9abbe7a033
commit d5b15895ef
1 changed files with 4 additions and 3 deletions

View File

@ -35,6 +35,9 @@ endif
%-refresh %-update: %-refresh %-update:
-$(MAKE) -C $* $(patsubst $*-%,%,$@) -$(MAKE) -C $* $(patsubst $*-%,%,$@)
%-autorefresh:
-$(MAKE) -C $* clean refresh QUILT=1
# .IGNORE: $(COMPILE_PACKAGES) # .IGNORE: $(COMPILE_PACKAGES)
@ -46,9 +49,7 @@ clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
prereq: $(PREREQ_PACKAGES) prereq: $(PREREQ_PACKAGES)
download: $(DOWNLOAD_PACKAGES) download: $(DOWNLOAD_PACKAGES)
compile: $(COMPILE_PACKAGES) compile: $(COMPILE_PACKAGES)
ifneq ($(QUILT),) refresh: $(patsubst %,%-autorefresh,$(package-y) $(package-m) $(package-))
refresh: $(patsubst %,%-refresh,$(package-y) $(package-m) $(package-))
endif
install-targets: $(INSTALL_PACKAGES) install-targets: $(INSTALL_PACKAGES)
install: install: