summaryrefslogtreecommitdiffstats
path: root/waf_libbsd.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-03-26 15:14:53 +1100
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2018-04-10 08:54:58 +0200
commitd797c5dcd2230772a80567ea20ac7820a03fb165 (patch)
tree67a1a0f351627f0b6a842de13a06aa47e02368f4 /waf_libbsd.py
parentf7a09b59853bae31861e572f5d5cde42f762c233 (diff)
downloadrtems-libbsd-d797c5dcd2230772a80567ea20ac7820a03fb165.tar.bz2
waf: Refactor libbsd.py to support per module generation.
This change allows us to control the modules we want to build. Update #3351
Diffstat (limited to 'waf_libbsd.py')
-rw-r--r--waf_libbsd.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/waf_libbsd.py b/waf_libbsd.py
index 7779c121..eddfaf99 100644
--- a/waf_libbsd.py
+++ b/waf_libbsd.py
@@ -280,9 +280,11 @@ class Builder(builder.ModuleManager):
d['includes'] += frag[-1]
d['includes'] = list(set(d['includes']))
+ self.generateBuild()
+
self.data = {}
- for mn in self.getModules():
+ for mn in self.getEnabledModules():
m = self[mn]
if m.conditionalOn == "none":
for f in m.files: