mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-13 02:24:48 +08:00
parent
494b156fd2
commit
fedd993da8
@ -801,8 +801,12 @@ class ModuleManager(object):
|
||||
self.configuration['modules'] = mods
|
||||
self.configuration['modules-enabled'] = [m for m in mods if self.modules[m].isEnabled()]
|
||||
|
||||
def generateBuild(self):
|
||||
for m in self.getEnabledModules():
|
||||
def generateBuild(self, only_enabled=True):
|
||||
modules_to_process = self.getEnabledModules()
|
||||
# Used for copy between FreeBSD and RTEMS
|
||||
if only_enabled == False:
|
||||
modules_to_process = self.getAllModules()
|
||||
for m in modules_to_process:
|
||||
self.modules[m].generate()
|
||||
|
||||
def setGenerators(self):
|
||||
|
@ -144,7 +144,7 @@ if isEarlyExit == True:
|
||||
try:
|
||||
build = builder.ModuleManager()
|
||||
libbsd.load(build)
|
||||
build.generateBuild()
|
||||
build.generateBuild(only_enabled=False)
|
||||
build.processSource(isForward)
|
||||
builder.changedFileSummary(statsReport)
|
||||
except IOError as ioe:
|
||||
|
Loading…
x
Reference in New Issue
Block a user