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
master
Felix Fietkau 2007-06-04 11:20:03 +00:00
parent 80d2beea9d
commit ac587815b0
1 changed files with 4 additions and 3 deletions

View File

@ -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: