diff options
author | Chris Johns <chrisj@rtems.org> | 2013-03-07 15:23:29 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-03-07 15:23:29 +1100 |
commit | 79f80fd9798a178cf5e93e1b704f2061180c17dd (patch) | |
tree | c9e632e035c3def9274e0408765ebc97f8801289 /source-builder/sb/config.py | |
parent | Provide better control of sharing the defaults. (diff) | |
download | rtems-source-builder-79f80fd9798a178cf5e93e1b704f2061180c17dd.tar.bz2 |
Add a deps option to print the dependent config files.
Diffstat (limited to 'source-builder/sb/config.py')
-rw-r--r-- | source-builder/sb/config.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py index a92a0a5..ef0361a 100644 --- a/source-builder/sb/config.py +++ b/source-builder/sb/config.py @@ -211,6 +211,7 @@ class file: if arg.startswith('--with-') or arg.startswith('--without-'): label = arg[2:].lower().replace('-', '_') self.default_defines[self._label(label)] = label + self._includes = [] self.load_depth = 0 self.load(name) @@ -778,6 +779,8 @@ class file: raise error.general('error opening config file: %s' % (path.host(configname))) self.configpath += [configname] + self._includes += [configname] + try: dir = None info = None @@ -886,6 +889,9 @@ class file: def packages(self): return self._packages + def includes(self): + return self._includes + def run(): import sys try: |