]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: Fix PACKAGECONFIG issues with native and nativesdk BBCLASSEXTEND recipe...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Apr 2012 13:04:18 +0000 (14:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Apr 2012 12:48:45 +0000 (13:48 +0100)
commit46db11c4a789034b7040faf127ab865148bedad8
treee2c53d91f9f771efcb2d35e7340524ba91e81e71
parent5e3c12313edc4b51ddd432ecbbd3b1f5295b3c14
base.bbclass: Fix PACKAGECONFIG issues with native and nativesdk BBCLASSEXTEND recipes (and multilib)

This patch fixes up the issues that were being seen where BBCLASSEXTEND and
PACKAGECONFIG were interacting badly. It also ensures PACKAGECONFIG interacts
properly with multilib builds.

Ideally some of this code will be abstracted into lib/oe/classextend.py but
at this point in release more invasive changes like this are inappropriate.

This patch also removed empty strings from expressions rather than
passing them around as this was complicating the additional code
unnecessarily.

The patch was verified against the OE-Core metadata where the return values of
expandFilter() were sanity checked by hand for native/nativesdk and
multilib combinations.

[YOCTO #2225]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass