From: Paul Eggleton Date: Sat, 22 Sep 2012 12:29:56 +0000 (+0100) Subject: classes/multilib: ensure MLPREFIX is set for image recipes X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~39912 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddec9a1b45159c75e97e92abe9a940268acd84b2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git classes/multilib: ensure MLPREFIX is set for image recipes We need MLPREFIX to be set so that oe.utils.prune_suffix() (as used for the value of BPN) can derive the bare name from the multilib-extended name for image recipes. BPN being set correctly avoids missing file warnings during parse from the file checksum code for (unusual) images that set SRC_URI, such as build-appliance-image. First half of the fix for [YOCTO #3146]. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index b1a593e2223..4d3f8899311 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass @@ -12,6 +12,7 @@ python multilib_virtclass_handler () { raise bb.parse.SkipPackage("We shouldn't have multilib variants for the kernel") if bb.data.inherits_class('image', e.data): + e.data.setVar("MLPREFIX", variant + "-") e.data.setVar("PN", variant + "-" + e.data.getVar("PN", False)) return