X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3bc4300361087b128cd894f4ad1c93bfa760aab0..92855cd186470c045637045ff88ebbb223f07fb3:/package/Makefile diff --git a/package/Makefile b/package/Makefile index 64c78de5e..d6af3f28f 100644 --- a/package/Makefile +++ b/package/Makefile @@ -32,6 +32,13 @@ else endif $(MAKE) -C $* $(patsubst $*-%,%,$@) +%-refresh %-update: + -$(MAKE) -C $* $(patsubst $*-%,%,$@) + +%-autorefresh: + -$(MAKE) -C $* clean refresh QUILT=1 + + # .IGNORE: $(COMPILE_PACKAGES) $(TMP_DIR)/.packagedeps: $(TMP_DIR)/.packageinfo @@ -42,6 +49,7 @@ clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) prereq: $(PREREQ_PACKAGES) download: $(DOWNLOAD_PACKAGES) compile: $(COMPILE_PACKAGES) +refresh: $(patsubst %,%-autorefresh,$(package-y) $(package-m) $(package-)) install-targets: $(INSTALL_PACKAGES) install: