bitbake: cookerdata: Allow bblayers.conf to be found using BBPATH
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Aug 2013 13:27:29 +0000 (14:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Aug 2013 16:42:39 +0000 (17:42 +0100)
commit5bb629400da94e6c52434c57197e71a27aaf7a09
tree51fad5791737b8426f6e6ed80ab3b046504b5884
parent7d176b3319624f787a151d02afe2cb44c1e71ff2
bitbake: cookerdata: Allow bblayers.conf to be found using BBPATH

It should be possible to run a build anywhere on the filesystem and have
bitbake find the correct build directory if its set somehow. The BBPATH
variable makes perfect sense for this usage. Therefore use any available
value of BBPATH to search for conf/bblayers.conf before walking the parent
directory structure.

This restores the option of being able to run bitbake from anywhere if
the user has set things up to operate in that environment.

(Bitbake rev: e86336b3fe245bc97fe74c9b9d6a21d38a536fb7)

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