[PATCH v2 5/6] freebsd-to-rtems.py: Use all modules.
Christian Mauderer
christian.mauderer at embedded-brains.de
Mon Apr 9 13:53:30 UTC 2018
Update #3351
---
builder.py | 8 ++++++--
freebsd-to-rtems.py | 2 +-
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/builder.py b/builder.py
index e334f1a1..8e5b2292 100755
--- a/builder.py
+++ b/builder.py
@@ -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):
diff --git a/freebsd-to-rtems.py b/freebsd-to-rtems.py
index c2f00f86..3f06bdf9 100755
--- a/freebsd-to-rtems.py
+++ b/freebsd-to-rtems.py
@@ -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:
--
2.13.6
More information about the devel
mailing list