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