Message ID | 20180314201837.21398-1-joerg.krause@embedded.rocks |
---|---|
State | Accepted |
Commit | f7479b538a3e1548172ba256001ebd96f1e7076c |
Headers | show |
Series | [1/3] docs/manual: pass PARALLEL_JOBS to NINJA_OPTS | expand |
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@embedded.rocks> Acked-by: "Yann E. MORIN" <yann.morin.1998@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@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
>>>>> "Jörg" == Jörg Krause <joerg.krause@embedded.rocks> writes: > Ninja understands the `-j` option which defines how many jobs are > run in parallel. > Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Committed, thanks.
>>>>> "Jörg" == Jörg Krause <joerg.krause@embedded.rocks> writes: > Ninja understands the `-j` option which defines how many jobs are > run in parallel. > Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Committed to 2018.02.x, thanks.
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
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(-)