From 221f32378292efb01306e3335bff458e0d234693 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@nbd.name>
Date: Wed, 3 May 2017 23:33:10 +0200
Subject: [PATCH] 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>
---
 include/quilt.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/quilt.mk b/include/quilt.mk
index 88f84f8cff..2115e26adc 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
-- 
2.30.2