Add whitelist of WINDRES and RC to hash
PATCH 1/1 Add whitelist of WINDRES and RC to hash
Add the two specific exported values to the hash, otherwise task hashes change and things rebuild unnecessarily. (perl-native may also fail to rebuild.)
Mark Hatle (1):
*-mingw32.conf: Add whitelist of WINDRES and RC to hash
conf/machine-sdk/i686-mingw32.conf | 2 ++ conf/machine-sdk/x86_64-mingw32.conf | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.0.1
PATCH 1/1 *-mingw32.conf: Add whitelist of WINDRES and RC to hash
WINDRES and RC values are exported when building for a mingw32 target. These values, due to being exported, end up in the signature hash for everything in the system. By adding these to the whitelist we prevent contamination and allow the system to properly reuse existing -native and other sstate-cache.
Signed-off-by Mark Hatle <[email protected]>
--- conf/machine-sdk/i686-mingw32.conf | 2 ++ conf/machine-sdk/x86_64-mingw32.conf | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-)
conf/machine-sdk/i686-mingw32.conf +2 -0
@@ -27,3 +27,5 @@ MACHINEOVERRIDES .= ":sdkmingw32" export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" export RC = "${WINDRES}" + +BB_HASHBASE_WHITELIST_append = " WINDRES RC"
conf/machine-sdk/x86_64-mingw32.conf +3 -1
@@ -26,4 +26,6 @@ SDKPKGSUFFIX = "nativesdk-mingw32" MACHINEOVERRIDES .= ":sdkmingw32" export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" -export RC = "${WINDRES}" +export RC = "${WINDRES}" + +BB_HASHBASE_WHITELIST_append = " WINDRES RC"
Signature · 1 line
2.0.1