aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Jörg Krause <joerg.krause@embedded.rocks>2018-03-14 21:18:35 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-03-19 23:22:37 +0100
commitf7479b538a3e1548172ba256001ebd96f1e7076c (patch)
tree9f598ca8c8a6919ef20e5d7603574a738899d96d /docs
parentc4d2c9cafb19312f6d2f2a9bc0740f45b65559c7 (diff)
downloadbuildroot-f7479b538a3e1548172ba256001ebd96f1e7076c.tar.gz
buildroot-f7479b538a3e1548172ba256001ebd96f1e7076c.tar.bz2
docs/manual: pass PARALLEL_JOBS to NINJA_OPTS
Ninja understands the `-j` option which defines how many jobs are run in parallel. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/adding-packages-meson.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/manual/adding-packages-meson.txt b/docs/manual/adding-packages-meson.txt
index 65a0f6a962..f3b4b30e48 100644
--- a/docs/manual/adding-packages-meson.txt
+++ b/docs/manual/adding-packages-meson.txt
@@ -35,7 +35,7 @@ package. Let's start with an example:
18: --buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
19: --cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf
20:
-21: FOO_NINJA_OPTS = $(if $(VERBOSE),-v)
+21: FOO_NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS)
22:
23: ifeq ($(BR2_PACKAGE_BAZ),y)
24: FOO_CONF_OPTS += -Dbaz