[source] build: set QUILT=1 automatically when calling package host build refresh

LEDE Commits lede-commits at lists.infradead.org
Thu May 25 10:01:51 PDT 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/221f32378292efb01306e3335bff458e0d234693

commit 221f32378292efb01306e3335bff458e0d234693
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed May 3 23:33:10 2017 +0200

    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 at nbd.name>
---
 include/quilt.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the lede-commits mailing list