bitbake.conf/cross.bbclass: Add ability to dynamically change library location
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jul 2011 12:08:58 +0000 (13:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jul 2011 11:06:30 +0000 (12:06 +0100)
commitf0cd0e383300c42afdb7bec132e34d78aa1b4a72
treeab6cc135542cfac6ba670fe74af8acc2b54363c6
parent07aa8d5d8593fabbdbcfded78cd4e8c7ba9a8183
bitbake.conf/cross.bbclass: Add ability to dynamically change library location

Add the ability to dynamically change the library directory from "lib" to
other values. This allows the tune files to specifiy altnerative ABIs
which can be dynamically enabled by the multilib BBCLASSEXTEND code.

A variety of approaches have been attempted with this, the immediate
expansions in cross.bbclass being problematic as they are they are expanded
before the bbclass extend event hander runs. This approach ensures the
${baselib} variable is retained in the expressions resolving that complication.

Derived from some ideas from Mark Hatle.

(From OE-Core rev: aeea22da699b276a97ca1a17e3c53176c9afd9de)

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