diff options
author | Chris Johns <chrisj@rtems.org> | 2019-01-07 14:18:46 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-01-07 14:18:46 +1100 |
commit | 4d3da263a9c35208ef32f0fef956d120fb2e6e14 (patch) | |
tree | f5ee9bbf93329b29ebfd7f4b96e7e0bb4d182919 /wscript | |
parent | c86b73b6e664616d03479f7a0d59064f45974d90 (diff) |
Add a libbsd dynamically loaded application.libbsd-libdl
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -11,6 +11,7 @@ rtems_version = "5" try: import rtems_waf.rtems as rtems + import rtems_waf.rtems_bsd as rtems_bsd except: print('error: no rtems_waf git submodule; see README.waf') import sys @@ -21,9 +22,14 @@ def init(ctx): def options(opt): rtems.options(opt) + rtems_bsd.options(opt) + +def bsp_configure(conf, arch_bsp): + rtems_bsd.bsp_configure(conf, arch_bsp, mandatory = False) + conf.recurse('libbsd') def configure(conf): - rtems.configure(conf) + rtems.configure(conf, bsp_configure = bsp_configure) def build(bld): rtems.build(bld) @@ -42,6 +48,7 @@ def build(bld): bld.recurse('posix_api') bld.recurse('cxx') bld.recurse('c11') + bld.recurse('libbsd') def rebuild(ctx): import waflib.Options |