multilib/clsextend: Improve handling of regexps in PACKAGES_DYNAMIC
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Oct 2012 12:20:04 +0000 (12:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Oct 2012 13:59:29 +0000 (14:59 +0100)
commit151d5df4878bc2a59a716c41a50e6866345c9c3b
tree06844446008e8d2910d4a4682f0a58176b9e4d05
parent26017dea6a7053695589fc57d370528797b23098
multilib/clsextend: Improve handling of regexps in PACKAGES_DYNAMIC

Now that PACKAGES_DYNAMIC is more standardised, starting with ^ anchors,
the variable manipulations performed by clsextend for multilib don't work.

This patch at least improves it to hack around the problem and enable
mulitlib builds to work again. If this code doesn't do the right thing, the
recipe is free to override the variable with the correct multilib case.

(From OE-Core rev: 593faec6e0155bdd7a43ee84c24de8ee20287681)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/multilib.bbclass
meta/lib/oe/classextend.py