summaryrefslogtreecommitdiff
path: root/package/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-03 06:16:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-03 06:16:08 +0000
commitcc690d782c81197478adcdb5fb99061969adf756 (patch)
tree18bb45870827d180a6b4d8dea7ddd96da33f186f /package/Makefile
parent34a7bd751b696033630c718cd56d2f0d4e389dca (diff)
downloadmtk-20170518-cc690d782c81197478adcdb5fb99061969adf756.zip
mtk-20170518-cc690d782c81197478adcdb5fb99061969adf756.tar.gz
mtk-20170518-cc690d782c81197478adcdb5fb99061969adf756.tar.bz2
Add quilt integration for packages
make package/<package>-prepare QUILT=1 will apply all patches using quilt Autorebuild will be disabled, so that you can edit all patches in the build dir. When you're done editing patches and everything works, you can call: make package/<package>-refresh That will copy the updated patches from quilt into package/<package>/patches, and remove all old patches. Before the patches are overwritten, the correct order of the patches is verified ('cat series' is compared against 'sort series'). SVN-Revision: 7471
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/Makefile b/package/Makefile
index 64c78de..0713e8d 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -26,9 +26,9 @@ ifeq ($(QUIET),1)
%-compile %-install: FORCE
$(MAKE) -C $* $(patsubst $*-%,%,$@) || { $(call MESSAGE, "*** $* $(patsubst $*-%,%,$@) failed"); false; }
-%-prepare %-prereq %-download %-clean: FORCE
+%-prepare %-prereq %-download %-clean %-refresh: FORCE
else
-%-prepare %-prereq %-download %-clean %-compile %-install: FORCE
+%-prepare %-prereq %-download %-clean %-compile %-install %-refresh: FORCE
endif
$(MAKE) -C $* $(patsubst $*-%,%,$@)