]> code.ossystems Code Review - openembedded-core.git/commit
scripts/bitbake: allow switching between build directories
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 26 Mar 2012 14:22:01 +0000 (15:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 31 Mar 2012 16:39:55 +0000 (17:39 +0100)
commit769384decb095fb3c49eb13b8f7f69c978d0bcba
tree3712c6f5860b7148c3dcaabe7674189e78c2b5bf
parent07b0dddab901510208fab44bbc2566d3c3baae93
scripts/bitbake: allow switching between build directories

The recent addition of the check to ensure the user was in their build
directory disabled the ability to switch between build directories
without re-running the build environment setup script. We can rely
upon checking for conf/bblayers.conf instead, so use this check.

This does allow BUILDDIR (which is normally set by the environment
script) to be unset; however if it is set then it is assumed to be the
correct build directory and will be used in the error message that is
shown when we can't find conf/bblayers.conf.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
scripts/bitbake