]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
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:38:27 +0000 (17:38 +0100)
commite86336b3fe245bc97fe74c9b9d6a21d38a536fb7
treeb491aa95fb8c394e54ff7c8c2e5bf38961270c81
parentb266db27de0bba19a418e4d42e870649136b116b
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.

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