]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Set vardepvalue for PARALLEL_MAKEINST
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Oct 2021 08:49:44 +0000 (09:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Oct 2021 12:55:43 +0000 (13:55 +0100)
If you leave PARALLEL_MAKEINST at its default from PARALLEL_MAKE,
sstate checksums are fine and don't change as the number of cores do.
If you override it to a specific value, this does the cause the sstate
checksums to change. We don't want the checksums to change if the
value of this variable differs.

Therefore set a vardepvalue so a specific value is used for checksum
purposes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

index e25d632dc1c573ed254eac3f233a8c858f1350e6..f3ff5b776b2e200c495555a5991b6e2bff8b2b6f 100644 (file)
@@ -604,6 +604,7 @@ LINKER_HASH_STYLE:mipsarch:libc-musl = "sysv"
 # Pass parallel make options to the compile task
 EXTRA_OEMAKE:prepend:task-compile = "${PARALLEL_MAKE} "
 PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}"
+PARALLEL_MAKEINST[vardepvalue] = "1"
 # Pass parallel make options to the install task
 EXTRA_OEMAKE:prepend:task-install = "${PARALLEL_MAKEINST} "