[Buildroot] [PATCH 1/3] docs/manual: pass PARALLEL_JOBS to NINJA_OPTS

Yann E. MORIN yann.morin.1998 at free.fr
Wed Mar 14 20:23:58 UTC 2018


Jörg, All,

On 2018-03-14 21:18 +0100, Jörg Krause spake thusly:
> Ninja understands the `-j` option which defines how many jobs are
> run in parallel.
> 
> Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>

Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

Regards,
Yann E. MORIN.

> ---
>  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
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list