Changeset 84288f4 in rtems-libbsd for waf_generator.py


Ignore:
Timestamp:
May 22, 2015, 2:18:31 AM (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11, fd86c091b97759106da7355ce1dd81ebe030e285, freebsd-9.3, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
11ec988
Parents:
0768880
Message:

waf: Check for dlfcn.h header is availavble.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waf_generator.py

    r0768880 r84288f4  
    241241        self.add('                   help = "Network test configuration.")')
    242242        self.add('')
     243        self.add('def bsp_configure(conf, arch_bsp):')
     244        self.add('    conf.check(header_name = "dlfcn.h", features = "c")')
     245        self.add('')
    243246        self.add('def configure(conf):')
    244247        self.add('    if conf.options.auto_regen:')
     
    249252        self.add('    conf.env.WARNINGS = conf.options.warnings')
    250253        self.add('    conf.env.NET_CONFIG = conf.options.net_config')
    251         self.add('    rtems.configure(conf)')
     254        self.add('    rtems.configure(conf, bsp_configure)')
    252255        self.add('    if rtems.check_networking(conf):')
    253256        self.add('        conf.fatal("RTEMS kernel contains the old network support; configure RTEMS with --disable-networking")')
Note: See TracChangeset for help on using the changeset viewer.