summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2018-03-14 21:18:35 +0100
committerPeter Korsgaard <peter@korsgaard.com>2018-04-06 16:42:50 +0200
commit1c83518cd65de98baed5c4733b93f876df0a34ae (patch)
tree7775cb53709fe64dbbd7d133a2f7e0165b5ab2ee
parentf2fe1b57ef7ce845761950e42eb826de9e4d89dc (diff)
downloadbuildroot-1c83518cd65de98baed5c4733b93f876df0a34ae.tar.gz
buildroot-1c83518cd65de98baed5c4733b93f876df0a34ae.zip
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> (cherry picked from commit f7479b538a3e1548172ba256001ebd96f1e7076c) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-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
OpenPOWER on IntegriCloud