diff options
author | Cuero Bugot <cbugot@sierrawireless.com> | 2018-03-16 17:31:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-03 09:53:48 +0100 |
commit | bca049bce2dd0074a4b7c75a2b66228fbf4e6cc7 (patch) | |
tree | b830cad2185eb67184472a20626005598aaddf98 /meta/classes/uninative.bbclass | |
parent | 6db2f5f39f8a156c6fb6233e715031f6177a4738 (diff) | |
download | poky-bca049bce2dd0074a4b7c75a2b66228fbf4e6cc7.tar.gz |
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)
(From OE-Core rev: ca52b8e4f32063234815493746c4059392862af8)
Signed-off-by: Cuero Bugot <cbugot@sierrawireless.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/uninative.bbclass')
-rw-r--r-- | meta/classes/uninative.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass index 1723364284..0501ddec40 100644 --- a/meta/classes/uninative.bbclass +++ b/meta/classes/uninative.bbclass | |||
@@ -8,6 +8,9 @@ UNINATIVE_TARBALL ?= "${BUILD_ARCH}-nativesdk-libc.tar.bz2" | |||
8 | #UNINATIVE_CHECKSUM[x86_64] = "dead" | 8 | #UNINATIVE_CHECKSUM[x86_64] = "dead" |
9 | UNINATIVE_DLDIR ?= "${DL_DIR}/uninative/" | 9 | UNINATIVE_DLDIR ?= "${DL_DIR}/uninative/" |
10 | 10 | ||
11 | # Enabling uninative will change the following variables so they need to go the parsing white list to prevent multiple recipe parsing | ||
12 | BB_HASHCONFIG_WHITELIST += "NATIVELSBSTRING SSTATEPOSTUNPACKFUNCS" | ||
13 | |||
11 | addhandler uninative_event_fetchloader | 14 | addhandler uninative_event_fetchloader |
12 | uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted" | 15 | uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted" |
13 | 16 | ||