diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-04 11:20:03 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-04 11:20:03 +0000 |
commit | cca016f893833bb00fa62055d7160158a38aa740 (patch) | |
tree | ba2f8d4ea2bd1ddccfc59ae4665d3c418a590ffd | |
parent | 82a81707d83ea55c1ead149fbceee231e54bf998 (diff) |
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
-rw-r--r-- | package/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
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: |