bitbake: cookerdata: Set TOPDIR when using bblayers.conf
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Aug 2013 13:26:53 +0000 (14:26 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Aug 2013 16:42:39 +0000 (17:42 +0100)
commit7d176b3319624f787a151d02afe2cb44c1e71ff2
tree3afcb0e1bd380d27b07942c8d99039765df5c484
parent97e9b3dc446c9390b844bbe8a2d7aef684da409b
bitbake: cookerdata: Set TOPDIR when using bblayers.conf

By definition, bblayers.conf is at the top of the build tree. We'd like
to support running bitbake anywhere within that build tree but TOPDIR
gets set to wherever cwd is. Change the code to reset TOPDIR
to the top of the build directory.

This shouldn't break anything but does make the system more usable.

(Bitbake rev: b266db27de0bba19a418e4d42e870649136b116b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cookerdata.py