summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/main.py
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2016-06-07 12:27:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-09 18:00:58 +0100
commit40e789d1fee7f0df2d23230fff38325119ad2935 (patch)
tree8ed7079d30d7ce3eafb079cf740570661fa82ec7 /bitbake/lib/bb/main.py
parentdb7ec6c1ab8c3c02a82a4aa6ce05b7fa1b0f3c0c (diff)
downloadpoky-40e789d1fee7f0df2d23230fff38325119ad2935.tar.gz
bitbake: lib/bb/main.py: Fix use of BBPOSTCONF and BBPRECONF
The functionality of BBPOSTCONF and BBPRECONF was added in commit 21b314d4d1e5b8fbeb4cc57006f0a110f0b3aa8f 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>
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-xbitbake/lib/bb/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index b296ef8b8c..283f29bb15 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/lib/bb/main.py
@@ -281,10 +281,10 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
281 281
282 # use configuration files from environment variables 282 # use configuration files from environment variables
283 if "BBPRECONF" in os.environ: 283 if "BBPRECONF" in os.environ:
284 option.prefile.append(os.environ["BBPRECONF"]) 284 options.prefile.append(os.environ["BBPRECONF"])
285 285
286 if "BBPOSTCONF" in os.environ: 286 if "BBPOSTCONF" in os.environ:
287 option.postfile.append(os.environ["BBPOSTCONF"]) 287 options.postfile.append(os.environ["BBPOSTCONF"])
288 288
289 # fill in proper log name if not supplied 289 # fill in proper log name if not supplied
290 if options.writeeventlog is not None and len(options.writeeventlog) == 0: 290 if options.writeeventlog is not None and len(options.writeeventlog) == 0: