@@ -931,6 +931,10 @@ SHELL[unexport] = "1"
# Used by canadian-cross to handle string conversions on TARGET_ARCH where needed
TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH').replace("_", "-")}"
+# We only care about the computed configuration, not how it is constructed which may
+# vary with bbappends
+PACKAGECONFIG[vardepvalue] = "${PACKAGECONFIG}"
+
# Set a default umask to use for tasks for determinism
BB_DEFAULT_UMASK ??= "022"
# The umask to use for shared files (e.g. DL_DIR and SSTATE_DIR)
For PACKAGECONFIG settings in recipes, we care about the end value, we don't really care how it is constructed. bbappends to recipes can add things to the default PACKAGECONFIG settings, for example being dependent on a DISTRO_FEATURE or other variable. If the computed value doesn't change, the task hashes can remain constant, allowing for better sstate reuse. To do this, set a vardepvalue of the variable value itself, ignoring how the actual value is calculated. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/conf/bitbake.conf | 4 ++++ 1 file changed, 4 insertions(+)