diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-04 09:49:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-04 15:03:53 +0100 |
commit | aedb8d58ea6cdeb08a87e3ed7802e401ab04a67d (patch) | |
tree | d12b0162a2295131c2f200f80c4db554fc9cda5b | |
parent | b8c0f073f6a282f89fba7711ec168d0638749300 (diff) | |
download | poky-aedb8d58ea6cdeb08a87e3ed7802e401ab04a67d.tar.gz |
bitbake.conf: Set vardepvalue for PARALLEL_MAKEINST
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.
(From OE-Core rev: 0a20d7f462b42800a8420dbb57e6ac8b84770b39)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/bitbake.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index e25d632dc1..f3ff5b776b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -604,6 +604,7 @@ LINKER_HASH_STYLE:mipsarch:libc-musl = "sysv" | |||
604 | # Pass parallel make options to the compile task | 604 | # Pass parallel make options to the compile task |
605 | EXTRA_OEMAKE:prepend:task-compile = "${PARALLEL_MAKE} " | 605 | EXTRA_OEMAKE:prepend:task-compile = "${PARALLEL_MAKE} " |
606 | PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}" | 606 | PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}" |
607 | PARALLEL_MAKEINST[vardepvalue] = "1" | ||
607 | # Pass parallel make options to the install task | 608 | # Pass parallel make options to the install task |
608 | EXTRA_OEMAKE:prepend:task-install = "${PARALLEL_MAKEINST} " | 609 | EXTRA_OEMAKE:prepend:task-install = "${PARALLEL_MAKEINST} " |
609 | 610 | ||