Patchwork [2/2] classes/multilib: prevent multilib extension of nativesdk recipes

mail settings
Submitter Paul Eggleton
Date Sept. 21, 2012, 4:40 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/37013/
State New
Headers show


Paul Eggleton - Sept. 21, 2012, 4:40 p.m.
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].

Signed-off-by: Paul Eggleton <>
 meta/classes/multilib.bbclass |    3 +++
 1 file changed, 3 insertions(+)


diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 25cf068..6923822 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -14,6 +14,9 @@  python multilib_virtclass_handler () {
         raise bb.parse.SkipPackage("We can't extend native recipes")
+    if'nativesdk',
+        raise bb.parse.SkipPackage("We can't extend nativesdk recipes")
     # Set variables suitable for image recipes (as well as everything else)"MLPREFIX", variant + "-")"PN", variant + "-" +"PN", False))