545 |
|
# Must parse xml and use the project-specific information to populate the Rules.mk and target.mk files. |
546 |
|
# Collect all xml lines for now, then process after file-read loop. |
547 |
|
if xml is None: |
548 |
< |
xml = line |
548 |
> |
# The first time through this section, line is the config.local div, __PROJ__. Discard that. |
549 |
> |
xml = '' |
550 |
> |
continue |
551 |
|
else: |
552 |
|
xml += line |
553 |
|
else: |
591 |
|
if not xml is None: |
592 |
|
# Process xml. |
593 |
|
projRules.extend(list(RULESPREFIX)) |
594 |
< |
projTarget.extend(list(TARGETPREFIX)) |
594 |
> |
projTarget.extend(list(TARGETPREFIX)) |
595 |
|
rv = processXML(xml, projRules, projTarget) |
596 |
|
projRules.extend(RULESSUFFIX) |
597 |
|
|