[PATCH 5/6] freebsd-to-rtems.py: Use all modules.
Christian Mauderer
christian.mauderer at embedded-brains.de
Fri Apr 6 12:26:47 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 ac199a9b..bb5791a8 100755
--- a/builder.py
+++ b/builder.py
@@ -674,8 +674,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 ec0fcc9a..66c41ead 100755
--- a/freebsd-to-rtems.py
+++ b/freebsd-to-rtems.py
@@ -145,7 +145,7 @@ if isEarlyExit == True:
try:
build = waf_libbsd.Builder()
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