summaryrefslogtreecommitdiffstats
path: root/waf_generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'waf_generator.py')
-rwxr-xr-xwaf_generator.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/waf_generator.py b/waf_generator.py
index 28ea93d0..b3c80558 100755
--- a/waf_generator.py
+++ b/waf_generator.py
@@ -240,6 +240,9 @@ class ModuleManager(builder.ModuleManager):
self.add(' dest = "net_config",')
self.add(' help = "Network test configuration.")')
self.add('')
+ self.add('def bsp_configure(conf, arch_bsp):')
+ self.add(' conf.check(header_name = "dlfcn.h", features = "c")')
+ self.add('')
self.add('def configure(conf):')
self.add(' if conf.options.auto_regen:')
self.add(' conf.find_program("lex", mandatory = True)')
@@ -248,7 +251,7 @@ class ModuleManager(builder.ModuleManager):
self.add(' conf.env.AUTO_REGEN = conf.options.auto_regen')
self.add(' conf.env.WARNINGS = conf.options.warnings')
self.add(' conf.env.NET_CONFIG = conf.options.net_config')
- self.add(' rtems.configure(conf)')
+ self.add(' rtems.configure(conf, bsp_configure)')
self.add(' if rtems.check_networking(conf):')
self.add(' conf.fatal("RTEMS kernel contains the old network support; configure RTEMS with --disable-networking")')
self.add('')