projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow a separate patch directory for host patches
[openwrt-10.03/.git]
/
include
/
quilt.mk
diff --git
a/include/quilt.mk
b/include/quilt.mk
index 77b76a6daee91d6dec0a2ff7e67942e68514486b..71fee06f14a36680ba4d93f054220ca20926bba9 100644
(file)
--- a/
include/quilt.mk
+++ b/
include/quilt.mk
@@
-13,6
+13,8
@@
ifeq ($(TARGET_BUILD),1)
endif
PATCH_DIR?=./patches
FILES_DIR?=./files
endif
PATCH_DIR?=./patches
FILES_DIR?=./files
+HOST_PATCH_DIR?=$(PATCH_DIR)
+HOST_FILES_DIR?=$(FILES_DIR)
ifeq ($(MAKECMDGOALS),refresh)
override QUILT=1
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)
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
$(if $(QUILT),touch $(HOST_BUILD_DIR)/.quilt_used)
endef