From f684d0a47b5fefa1ffc59c51e17482dc13d3a272 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 22 Feb 2009 23:54:17 +0000 Subject: [PATCH] allow a separate patch directory for host patches SVN-Revision: 14630 --- include/quilt.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/quilt.mk b/include/quilt.mk index 77b76a6dae..71fee06f14 100644 --- a/include/quilt.mk +++ b/include/quilt.mk @@ -13,6 +13,8 @@ ifeq ($(TARGET_BUILD),1) endif PATCH_DIR?=./patches FILES_DIR?=./files +HOST_PATCH_DIR?=$(PATCH_DIR) +HOST_FILES_DIR?=$(FILES_DIR) ifeq ($(MAKECMDGOALS),refresh) override QUILT=1 @@ -78,7 +80,7 @@ endif define Host/Patch/Default $(if $(QUILT),rm -rf $(HOST_BUILD_DIR)/patches; mkdir -p $(HOST_BUILD_DIR)/patches) - $(call PatchDir,$(HOST_BUILD_DIR),$(PATCH_DIR),) + $(call PatchDir,$(HOST_BUILD_DIR),$(HOST_PATCH_DIR),) $(if $(QUILT),touch $(HOST_BUILD_DIR)/.quilt_used) endef -- 2.25.1