mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
classes/multilib: prevent multilib extension of nativesdk recipes
It isn't supported to mix multilib and nativesdk in the same target, so explicitly skip multilib processing if nativesdk is inherited. As a bonus this fixes a bunch of related "missing file" warnings from the file checksum code during parsing because BPN was not correctly stripped for these targets. Second half of the fix for [YOCTO #3146]. (From OE-Core rev: d9a1eb5054d487affb94431374a9cb1a735e2122) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d27d9e8957
commit
9ee8e2fae8
@@ -19,6 +19,9 @@ python multilib_virtclass_handler () {
|
||||
if bb.data.inherits_class('native', e.data):
|
||||
raise bb.parse.SkipPackage("We can't extend native recipes")
|
||||
|
||||
if bb.data.inherits_class('nativesdk', e.data):
|
||||
raise bb.parse.SkipPackage("We can't extend nativesdk recipes")
|
||||
|
||||
save_var_name=e.data.getVar("MULTILIB_SAVE_VARNAME", True) or ""
|
||||
for name in save_var_name.split():
|
||||
val=e.data.getVar(name, True)
|
||||
|
||||
Reference in New Issue
Block a user