All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] docs/manual: pass PARALLEL_JOBS to NINJA_OPTS
@ 2018-03-14 20:18 Jörg Krause
  2018-03-14 20:18 ` [Buildroot] [PATCH 2/3] libmpdclient: " Jörg Krause
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Jörg Krause @ 2018-03-14 20:18 UTC (permalink / raw)
  To: buildroot

Ninja understands the `-j` option which defines how many jobs are
run in parallel.

Signed-off-by: J?rg Krause <joerg.krause@embedded.rocks>
---
 docs/manual/adding-packages-meson.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-04-06 16:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-14 20:18 [Buildroot] [PATCH 1/3] docs/manual: pass PARALLEL_JOBS to NINJA_OPTS Jörg Krause
2018-03-14 20:18 ` [Buildroot] [PATCH 2/3] libmpdclient: " Jörg Krause
2018-03-14 20:24   ` Yann E. MORIN
2018-03-19 22:23   ` Peter Korsgaard
2018-03-14 20:18 ` [Buildroot] [PATCH 3/3] mpd-mpc: " Jörg Krause
2018-03-14 20:24   ` Yann E. MORIN
2018-03-19 22:23   ` Peter Korsgaard
2018-03-14 20:23 ` [Buildroot] [PATCH 1/3] docs/manual: " Yann E. MORIN
2018-03-19 22:23 ` Peter Korsgaard
2018-04-06 16:56 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.