Changeset a86cd82 in rtems-tools for specbuilder/specbuilder/crossgcc.py


Ignore:
Timestamp:
Jun 9, 2011, 5:59:32 AM (8 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
a2bc901
Parents:
faa8181
Message:

2011-06-09 Chris Johns <chrisj@…>

  • specbuilder/specbuilder/build.py, specbuilder/specbuilder/crossgcc.py, specbuilder/specbuilder/defaults.py, specbuilder/specbuilder/linux.py, specbuilder/specbuilder/spec.py: Add CentOS support for older Pythons. Add options to build the tools with specific flags.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • specbuilder/specbuilder/crossgcc.py

    rfaa8181 ra86cd82  
    8787    def every_package(self, _build, path):
    8888        self.copy(_build.spec.abspath('%{buildroot}'), path)
    89         _build.cleanup()
     89        if not self.opts.no_clean():
     90            _build.cleanup()
    9091
    9192    def last_package(self, _build, path):
     
    130131                    self.last_package(b, path)
    131132                del b
    132         finally:
     133        except:
    133134            os.environ['PATH'] = current_path
     135            raise
     136        os.environ['PATH'] = current_path
    134137
    135138def run():
Note: See TracChangeset for help on using the changeset viewer.