From: nbd Date: Sun, 22 Feb 2009 23:54:17 +0000 (+0000) Subject: allow a separate patch directory for host patches X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=871d69669e0e9f052110ddc4f7a37d0fc22da68b;hp=ce4c74d452a1e4b636f148c5fbef35712900e6bd allow a separate patch directory for host patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14630 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/quilt.mk b/include/quilt.mk index 77b76a6da..71fee06f1 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