summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-05-03 23:33:10 +0200
committerFelix Fietkau <nbd@nbd.name>2017-05-25 19:01:07 +0200
commit221f32378292efb01306e3335bff458e0d234693 (patch)
tree246a2a183fcb9cab0fd8d2f56e4f0a544489e949
parentf62f4b3c5c9d059a2e6a1e80ce7b4267ef0c236b (diff)
downloadmtk-20170518-221f32378292efb01306e3335bff458e0d234693.zip
mtk-20170518-221f32378292efb01306e3335bff458e0d234693.tar.gz
mtk-20170518-221f32378292efb01306e3335bff458e0d234693.tar.bz2
build: set QUILT=1 automatically when calling package host build refresh
Makes behavor consistent with package builds and regular host builds Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--include/quilt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/quilt.mk b/include/quilt.mk
index 88f84f8..2115e26 100644
--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -15,7 +15,7 @@ FILES_DIR?=./files
HOST_PATCH_DIR?=$(PATCH_DIR)
HOST_FILES_DIR?=$(FILES_DIR)
-ifeq ($(MAKECMDGOALS),refresh)
+ifneq ($(filter host-refresh refresh,$(MAKECMDGOALS)),)
override QUILT=1
override HOST_QUILT=1
endif