[oe-commits] [openembedded-core] 21/35: uninative: add variables to the whitelist so that it does not re-triger recipe parsing

git at git.openembedded.org git at git.openembedded.org
Thu May 3 09:05:26 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch rocko
in repository openembedded-core.

commit ca52b8e4f32063234815493746c4059392862af8
Author: Cuero Bugot <cbugot at sierrawireless.com>
AuthorDate: Fri Mar 16 17:31:30 2018 +0000

    uninative: add variables to the whitelist so that it does not re-triger recipe parsing
    
    When uninative is activated (poky's default) internal datastore variables are modified (NATIVELSBSTRING and SSTATEPOSTUNPACKFUNCS) to enable uninative
    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
    variables above were not added to the parsing whitelist BB_HASHCONFIG_WHITELIST.
    
    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
    uninative.bbclass is used.
    
    (From OE-Core rev: 75bb95ada98ef129d2fa48568f27dddb078c852c)
    
    Signed-off-by: Cuero Bugot <cbugot at sierrawireless.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster at mvista.com>
---
 meta/classes/uninative.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass
index 1723364..0501dde 100644
--- a/meta/classes/uninative.bbclass
+++ b/meta/classes/uninative.bbclass
@@ -8,6 +8,9 @@ UNINATIVE_TARBALL ?= "${BUILD_ARCH}-nativesdk-libc.tar.bz2"
 #UNINATIVE_CHECKSUM[x86_64] = "dead"
 UNINATIVE_DLDIR ?= "${DL_DIR}/uninative/"
 
+# Enabling uninative will change the following variables so they need to go the parsing white list to prevent multiple recipe parsing
+BB_HASHCONFIG_WHITELIST += "NATIVELSBSTRING SSTATEPOSTUNPACKFUNCS"
+
 addhandler uninative_event_fetchloader
 uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list