sb: fix the if logic to handle directives in if statements.

Directives in if statements end at the end of an if. The cannot
change or split across directive boundaries.

Add more trace detail to config.py.

Updates #2661.
This commit is contained in:
Chris Johns
2016-03-19 17:23:50 +11:00
parent 19a3cb98e2
commit 29819a2719
2 changed files with 66 additions and 19 deletions

View File

@@ -365,6 +365,11 @@ class buildset:
else:
deps += b.config.includes()
builds += [b]
#
# Dump post build macros.
#
log.trace('_bset: macros post-build')
log.trace(str(macros))
else:
raise error.general('invalid config type: %s' % (configs[s]))
except error.general as gerr: