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 <mark.ha...@windriver.com>
---
 conf/machine-sdk/i686-mingw32.conf   | 2 ++
 conf/machine-sdk/x86_64-mingw32.conf | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/conf/machine-sdk/i686-mingw32.conf 
b/conf/machine-sdk/i686-mingw32.conf
index eec3ced..0bdedaa 100644
--- a/conf/machine-sdk/i686-mingw32.conf
+++ b/conf/machine-sdk/i686-mingw32.conf
@@ -27,3 +27,5 @@ MACHINEOVERRIDES .= ":sdkmingw32"
 
 export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}"
 export RC = "${WINDRES}"
+
+BB_HASHBASE_WHITELIST_append = " WINDRES RC"
diff --git a/conf/machine-sdk/x86_64-mingw32.conf 
b/conf/machine-sdk/x86_64-mingw32.conf
index be9a8c4..5e80dfa 100644
--- a/conf/machine-sdk/x86_64-mingw32.conf
+++ b/conf/machine-sdk/x86_64-mingw32.conf
@@ -26,4 +26,6 @@ SDKPKGSUFFIX = "nativesdk-mingw32"
 MACHINEOVERRIDES .= ":sdkmingw32"
 
 export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}"
-export RC = "${WINDRES}"
\ No newline at end of file
+export RC = "${WINDRES}"
+
+BB_HASHBASE_WHITELIST_append = " WINDRES RC"
-- 
2.0.1

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to