build: set QUILT=1 automatically when calling package host build refresh
authorFelix Fietkau <nbd@nbd.name>
Wed, 3 May 2017 21:33:10 +0000 (23:33 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 25 May 2017 17:01:07 +0000 (19:01 +0200)
Makes behavor consistent with package builds and regular host builds

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/quilt.mk

index 88f84f8..2115e26 100644 (file)
@@ -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