summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-03 09:45:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-15 22:56:16 +0000
commitd3d9a37aa7addac066762f624ec857d34c57343b (patch)
tree7869778847e8e4649366d313dc0623e4ebe0101e /bitbake/lib/bb/cooker.py
parentb1256965bb0d5e97862b5bcddc5864a491794741 (diff)
downloadpoky-d3d9a37aa7addac066762f624ec857d34c57343b.tar.gz
parse/ast: Expand inherit statements before splitting them
This means that statements that expand to more then one entry such as: CLASSES = "a b" inherit ${CLASSES} work correctly instead of trying to inherit a class called "a b". (Bitbake rev: 2568e9ace6e6f483e1bf2a9ef2f4d8318d6c85b7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 688e2650e9..97dd3063a9 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1433,7 +1433,7 @@ def _parse(fn, data, include=True):
1433 1433
1434@catch_parse_error 1434@catch_parse_error
1435def _inherit(bbclass, data): 1435def _inherit(bbclass, data):
1436 bb.parse.BBHandler.inherit([bbclass], "configuration INHERITs", 0, data) 1436 bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)
1437 return data 1437 return data
1438 1438
1439class ParsingFailure(Exception): 1439class ParsingFailure(Exception):