diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
| -rw-r--r-- | bitbake/lib/bb/cooker.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index d1df711d40..1fda40dd41 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
| @@ -516,6 +516,8 @@ class BBCooker: | |||
| 516 | fn = runlist[0][3] | 516 | fn = runlist[0][3] |
| 517 | else: | 517 | else: |
| 518 | envdata = self.data | 518 | envdata = self.data |
| 519 | data.expandKeys(envdata) | ||
| 520 | parse.ast.runAnonFuncs(envdata) | ||
| 519 | 521 | ||
| 520 | if fn: | 522 | if fn: |
| 521 | try: | 523 | try: |
| @@ -530,9 +532,6 @@ class BBCooker: | |||
| 530 | self.data.inchistory.emit(env) | 532 | self.data.inchistory.emit(env) |
| 531 | logger.plain(env.getvalue()) | 533 | logger.plain(env.getvalue()) |
| 532 | 534 | ||
| 533 | data.expandKeys(envdata) | ||
| 534 | parse.ast.runAnonFuncs(envdata) | ||
| 535 | |||
| 536 | # emit variables and shell functions | 535 | # emit variables and shell functions |
| 537 | with closing(StringIO()) as env: | 536 | with closing(StringIO()) as env: |
| 538 | data.emit_env(env, envdata, True) | 537 | data.emit_env(env, envdata, True) |
