<div><br><div class="gmail_quote"><div dir="auto">On Fri, Mar 16, 2018 at 10:31 AM Cuero Bugot <<a href="mailto:cbugot@sierrawireless.com">cbugot@sierrawireless.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When uninative is activated (poky's default) internal datastore variables are modified (NATIVELSBSTRING and SSTATEPOSTUNPACKFUNCS) to enable uninative<br>
support. This is happening after parsing is done at the beginning of the build. On the next bitbake call the recipe would be parsed if the two<br>
variables above were not added to the parsing whitelist BB_HASHCONFIG_WHITELIST.<br>
<br>
The fix is to add these two variables to the recipe parsing whitelist BB_HASHCONFIG_WHITELIST, this is done at recipe parsing time, only when<br>
uninative.bbclass is used.</blockquote><div dir="auto"><br></div><div dir="auto">It seems you have a case where data is already parsed and then uninstive is enabled after this the reparse is happening. Or is it always happening when uninative is enabled </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Signed-off-by: Cuero Bugot <<a href="mailto:cbugot@sierrawireless.com" target="_blank">cbugot@sierrawireless.com</a>><br>
---<br>
meta/classes/uninative.bbclass | 3 +++<br>
1 file changed, 3 insertions(+)<br>
<br>
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass<br>
index 8f34483..d1fdbc8 100644<br>
--- a/meta/classes/uninative.bbclass<br>
+++ b/meta/classes/uninative.bbclass<br>
@@ -8,6 +8,9 @@ UNINATIVE_TARBALL ?= "${BUILD_ARCH}-nativesdk-libc.tar.bz2"<br>
#UNINATIVE_CHECKSUM[x86_64] = "dead"<br>
UNINATIVE_DLDIR ?= "${DL_DIR}/uninative/"<br>
<br>
+# Enabling uninative will change the following variables so they need to go the parsing white list to prevent multiple recipe parsing<br>
+BB_HASHCONFIG_WHITELIST += "NATIVELSBSTRING SSTATEPOSTUNPACKFUNCS"<br>
+<br>
addhandler uninative_event_fetchloader<br>
uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted"<br>
<br>
--<br>
2.7.4<br>
--<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div></div>