diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-03 06:16:08 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-03 06:16:08 +0000 |
commit | cc690d782c81197478adcdb5fb99061969adf756 (patch) | |
tree | 18bb45870827d180a6b4d8dea7ddd96da33f186f /include/package-defaults.mk | |
parent | 34a7bd751b696033630c718cd56d2f0d4e389dca (diff) | |
download | mtk-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 'include/package-defaults.mk')
-rw-r--r-- | include/package-defaults.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 57f5ed7..16d9ae0 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -33,12 +33,11 @@ define Package/Default DESCRIPTION:= endef +Build/Patch:=$(Build/Patch/Default) ifneq ($(strip $(PKG_UNPACK)),) define Build/Prepare/Default $(PKG_UNPACK) - @if [ -d ./patches -a "$$$$(ls ./patches | wc -l)" -gt 0 ]; then \ - $(PATCH) $(PKG_BUILD_DIR) ./patches; \ - fi + $(Build/Patch) endef endif |