bitbake: bin/bitbake, bb/__init__: Move BBDEBUG handling to bin/bitbake
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Dec 2012 12:30:27 +0000 (12:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Dec 2012 12:36:04 +0000 (12:36 +0000)
commit15882b2ee1c40c99eadad27bb6eb90660edc6b78
treeddec0aded408a6be2419cb6472805451876da0dc
parent500bf92b7d3d871a848c2a06076b3ce0cfdb7700
bitbake: bin/bitbake, bb/__init__: Move BBDEBUG handling to bin/bitbake

The method this older code was accessing doesn't exist. A library shouldn't
be changing behaviour based on the environment anyway when sepcific function
calls exist to correctly setup the logging. Fix the crash if BBDEBUG was used
by moving the code to bin/bitbake.

[YOCTO #3319]

(Bitbake rev: 3a1b75037fe1e5282ffd40b037e93353405faa45)

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