allow a separate patch directory for host patches
SVN-Revision: 14630
This commit is contained in:
parent
fb4a318970
commit
f684d0a47b
@ -13,6 +13,8 @@ ifeq ($(TARGET_BUILD),1)
|
|||||||
endif
|
endif
|
||||||
PATCH_DIR?=./patches
|
PATCH_DIR?=./patches
|
||||||
FILES_DIR?=./files
|
FILES_DIR?=./files
|
||||||
|
HOST_PATCH_DIR?=$(PATCH_DIR)
|
||||||
|
HOST_FILES_DIR?=$(FILES_DIR)
|
||||||
|
|
||||||
ifeq ($(MAKECMDGOALS),refresh)
|
ifeq ($(MAKECMDGOALS),refresh)
|
||||||
override QUILT=1
|
override QUILT=1
|
||||||
@ -78,7 +80,7 @@ endif
|
|||||||
|
|
||||||
define Host/Patch/Default
|
define Host/Patch/Default
|
||||||
$(if $(QUILT),rm -rf $(HOST_BUILD_DIR)/patches; mkdir -p $(HOST_BUILD_DIR)/patches)
|
$(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)
|
$(if $(QUILT),touch $(HOST_BUILD_DIR)/.quilt_used)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user