summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-10-03 18:59:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-10-03 18:59:35 +0200
commit2e2242356f0bc72a56bc52259d497fa143f27e0a (patch)
treea5db36149ed305f36daeaa0532f8ca010ec97abc /rules
parent3223062eac8b7cba1c816078c174fc2bc77d2bb7 (diff)
downloadptxdist-2e2242356f0bc72a56bc52259d497fa143f27e0a.tar.gz
ptxdist-2e2242356f0bc72a56bc52259d497fa143f27e0a.tar.xz
ptxd_make_world_patchin: allow specifying a custom patch directory
If <PKG>_PATCHES is set, then it is used instead of $(<PKG>) to find the patch directory. It must be a relativ directory name that can be found in the usual search path. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/post/ptxd_make_world_common.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/post/ptxd_make_world_common.make b/rules/post/ptxd_make_world_common.make
index 9665b2ebc..a63466e21 100644
--- a/rules/post/ptxd_make_world_common.make
+++ b/rules/post/ptxd_make_world_common.make
@@ -78,6 +78,7 @@ world/env/impl = \
pkg_ref_config="$(call ptx/escape,$($(1)_REF_CONFIG))" \
pkg_path="$(call ptx/escape,$($(1)_PATH))" \
pkg_patch_series="$(call ptx/escape,$(call remove_quotes, $(PTXCONF_$(strip $(1))_SERIES)))"\
+ pkg_patch_dir="$(call ptx/escape,$($(1)_PATCH_DIR))" \
pkg_src="$(call ptx/escape,$($(1)_SOURCE))" \
pkg_srcs="$(call ptx/escape,$($(1)_SOURCES))" \
pkg_md5s="$(call ptx/escape,$(foreach s,$($(1)_SOURCES),$($($(s))_MD5):))"\