Changeset e70a165 in rtems-source-builder


Ignore:
Timestamp:
Mar 11, 2016, 1:39:34 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11
Children:
8f6fb61
Parents:
84ed685
git-author:
Chris Johns <chrisj@…> (03/11/16 01:39:34)
git-committer:
Chris Johns <chrisj@…> (03/16/16 06:17:40)
Message:

sb: Do not expand the package name in a bset file.

If the package references macros yet to be defined an error is
generated. Let the macro expands happen when the package name is
actually used.

Closes #2645.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/setbuilder.py

    r84ed685 re70a165  
    243243                ls = l.split()
    244244                if ls[0][-1] == ':' and ls[0][:-1] == 'package':
    245                     self.bset_pkg = self.macros.expand(ls[1].strip())
     245                    self.bset_pkg = ls[1].strip()
    246246                    self.macros['package'] = self.bset_pkg
    247247                elif ls[0][0] == '%':
Note: See TracChangeset for help on using the changeset viewer.