mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Add a deps option to print the dependent config files.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user