misc: fix the MAKE_PARALLEL_JOBS for 'make verify' target 96/27696/1
authorAndrew Yourtchenko <[email protected]>
Fri, 7 Feb 2020 11:58:00 +0000 (12:58 +0100)
committerDave Wallace <[email protected]>
Mon, 29 Jun 2020 13:30:00 +0000 (13:30 +0000)
commite88582facad678701457fa68cbe4ed24f6ec4266
tree619475f6c05537de3be66ea35d1d11d17ad89484
parent8f2ac2b649d30a118c175a5e491136dbffc03abe
misc: fix the MAKE_PARALLEL_JOBS for 'make verify' target

MAKE_PARALLEL_JOBS was prepending "-j", which in case of nested targets like "verify"
resulted in ninja being executed with "-j -j" flags.

Solution: prepend -j only at the moment of setting the MAKE_PARALLEL_FLAGS variable,
this keeps MAKE_PARALLEL_JOBS intact regardless of depth of the job call tree.

Type: make
Signed-off-by: Andrew Yourtchenko <[email protected]>
Change-Id: I10a69fe527758e5a862852a9f2102aeaca30e88f
(cherry picked from commit 56ac770df97065ea705ff2f3070055a410113b9f)
build-root/Makefile