Changeset d3629a9 in rtems-source-builder


Ignore:
Timestamp:
Aug 12, 2014, 2:59:22 AM (5 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, master
Children:
1c3547f
Parents:
8db5212
Message:

sb: Fix sources related bugs.

Updates the sources module introduced bugs in the build and download
modules. The commit fixes those modules.

Location:
source-builder/sb
Files:
2 edited

Legend:

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

    r8db5212 rd3629a9  
    161161        #
    162162        _map = 'source-%s' % (name)
    163         src_keys = self.macros.map_keys(_map)
     163        src_keys = [s for s in self.macros.map_keys(_map) if s != 'setup']
    164164        if len(src_keys) == 0:
    165165            raise error.general('no source set: %s (%s)' % (name, _map))
     
    248248        _map = 'patch-%s' % (name)
    249249        default_opts = ' '.join(args)
    250         patch_keys = self.macros.map_keys(_map)
     250        patch_keys = [p for p in self.macros.map_keys(_map) if p != 'setup']
    251251        patches = []
    252252        for p in patch_keys:
  • source-builder/sb/download.py

    r8db5212 rd3629a9  
    3535import log
    3636import path
     37import sources
    3738
    3839def _humanize_bytes(bytes, precision = 1):
Note: See TracChangeset for help on using the changeset viewer.