summaryrefslogtreecommitdiffstats
path: root/doc/ref_make_variables.inc
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2019-10-08 12:07:56 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-10-08 17:36:18 +0200
commite5fbe654a4814d396eb4a535b89856e574898991 (patch)
tree4db0e1614921a83a9ab17dc53e470e404d56b244 /doc/ref_make_variables.inc
parentdcbc9e1e132f50f2b95ce15407289a636eea71c8 (diff)
downloadptxdist-e5fbe654a4814d396eb4a535b89856e574898991.tar.gz
ptxdist-e5fbe654a4814d396eb4a535b89856e574898991.tar.xz
doc: dev/ref manual: describe the <PKG>_PATCHES variable
Fixes: 2e2242356f0bc72a56bc ("ptxd_make_world_patchin: allow specifying a custom patch directory") Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'doc/ref_make_variables.inc')
-rw-r--r--doc/ref_make_variables.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/ref_make_variables.inc b/doc/ref_make_variables.inc
index 08854c7db..fcfac83d3 100644
--- a/doc/ref_make_variables.inc
+++ b/doc/ref_make_variables.inc
@@ -205,6 +205,16 @@ Package Definition
For local URLs (``file://`` or ``lndir://``) ``<PKG>_SOURCE`` must not be
set.
+``<PKG>_PATCHES``
+ The name of the patch directory, relative to any of the paths listed in
+ ``PTXDIST_PATH_PATCHES`` (i.e., according to the search order described in
+ :ref:`patching_packages`).
+ If not specified, the default patch directory name is set to the value of the
+ ``<PKG>`` variable.
+
+ This variable can be set for multiple packages that should share the same
+ patch stack (e.g. kernel packages).
+
``<PKG>_DIR``
This is the directory where the source archive is extracted. In most
cases this is set to ``$(BUILDDIR)/$(<PKG>)``. However, if two packages