]> code.ossystems Code Review - openembedded-core.git/commit
base: check for existing prefix when expanding names in PACKAGECONFIG
authorRoss Burton <ross.burton@intel.com>
Tue, 1 Dec 2015 09:01:28 +0000 (09:01 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Dec 2015 08:47:27 +0000 (08:47 +0000)
commit55ca1fb8f0e81ff739b3c46897e43356d1f760c3
treeab90f05ccdc9ce0088a8840cc69de809ff9087e9
parent04b22b6b4953360ea383c4d928dea66f7b1796e6
base: check for existing prefix when expanding names in PACKAGECONFIG

When the DEPENDS are added as part of the PACKAGECONFIG logic the list of
packages are expanded so that any required nativesdk-/-native/multilib prefixes
and suffixes are added.

However the special handling of virtual/foo names doesn't check that the prefix
already exists, which breaks under nativesdk as in that situation there's an
explicit nativesdk- prefix *and* MLPREFIX is set to nativesdk-.  This results in
the same prefix being applied twice, and virtual packages such as virtual/libx11
ending up as virtual/nativesdk-nativesdk-libx11.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/base.bbclass