summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLionel Orry <lionel.orry@gmail.com>2018-10-11 11:57:53 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2019-02-06 17:21:28 +0100
commitbe0bb26f29238f9c3210e21dd456f09e0d7b63bd (patch)
tree239da4632dd61d4040cb45a8048654237ba0b3e7 /docs
parent0496a6a842e858c71760eb63833436fe9c044a6b (diff)
package/pkg-meson: <pkg>_SUBDIR cleanup
No functional change is brought by this modification. This patch: * removes a redundant <pkg>_SRCDIR declaration (already defined in pkg-generic.mk) * documents the usage of <pkg>_SUBDIR in the meson-specific section of the manual. Signed-off-by: Lionel Orry <lionel.orry@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/adding-packages-meson.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/manual/adding-packages-meson.txt b/docs/manual/adding-packages-meson.txt
index 549319b192..30c338f486 100644
--- a/docs/manual/adding-packages-meson.txt
+++ b/docs/manual/adding-packages-meson.txt
@@ -85,6 +85,12 @@ A few additional variables, specific to the Meson infrastructure, can also be
defined. Many of them are only useful in very specific cases, typical packages
will therefore only use a few of them.
+* +FOO_SUBDIR+ may contain the name of a subdirectory inside the
+ package that contains the main meson.build file. This is useful,
+ if for example, the main meson.build file is not at the root of
+ the tree extracted by the tarball. If +HOST_FOO_SUBDIR+ is not
+ specified, it defaults to +FOO_SUBDIR+.
+
* +FOO_CONF_ENV+, to specify additional environment variables to pass to
+meson+ for the configuration step. By default, empty.