bitbake: lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF

The functionality of BBPOSTCONF and BBPRECONF was added in
commit 21b314d4d1 but there
was a typo in the variable name that raises an exception
in bitbake.

[YOCTO #9235]

(Bitbake rev: 6d1379c8818400e5cdc442e6142f08a110fd5b95)

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mariano Lopez 2016-06-07 12:27:39 +00:00 committed by Richard Purdie
parent db7ec6c1ab
commit 40e789d1fe
1 changed files with 2 additions and 2 deletions

View File

@ -281,10 +281,10 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
# use configuration files from environment variables
if "BBPRECONF" in os.environ:
option.prefile.append(os.environ["BBPRECONF"])
options.prefile.append(os.environ["BBPRECONF"])
if "BBPOSTCONF" in os.environ:
option.postfile.append(os.environ["BBPOSTCONF"])
options.postfile.append(os.environ["BBPOSTCONF"])
# fill in proper log name if not supplied
if options.writeeventlog is not None and len(options.writeeventlog) == 0: