Changeset a51d0fea in rtems-libbsd


Ignore:
Timestamp:
May 6, 2016, 5:44:21 AM (5 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, ea5d0c78038d92597983c0922a011a62f5dc2dea, aef7a74b94f8860c59438933239fb41314f1abb7, freebsd-9.3, 9b9a9768474265ecab31c40e0502b453a187145f
Children:
542c981
Parents:
83eb07c
Message:

Move network-config.h to the top of the testsuite include path.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libbsd_waf.py

    r83eb07c ra51d0fea  
    106106            if lhs == "NET_TAP_INTERFACE":
    107107                net_tap_interface = rhs
    108     bld(target = "testsuite/include/rtems/bsd/test/network-config.h",
     108    bld(target = "testsuite/include/network-config.h",
    109109        source = "testsuite/include/rtems/bsd/test/network-config.h.in",
    110110        rule = "sed -e 's/@NET_CFG_SELF_IP@/%s/' -e 's/@NET_CFG_NETMASK@/%s/' -e 's/@NET_CFG_PEER_IP@/%s/' -e 's/@NET_CFG_GATEWAY_IP@/%s/' < ${SRC} > ${TGT}" % (net_cfg_self_ip, net_cfg_netmask, net_cfg_peer_ip, net_cfg_gateway_ip),
  • waf_generator.py

    r83eb07c ra51d0fea  
    339339        self.add('            if lhs == "NET_TAP_INTERFACE":')
    340340        self.add('                net_tap_interface = rhs')
    341         self.add('    bld(target = "testsuite/include/rtems/bsd/test/network-config.h",')
     341        self.add('    bld(target = "testsuite/include/network-config.h",')
    342342        self.add('        source = "testsuite/include/rtems/bsd/test/network-config.h.in",')
    343343        self.add('        rule = "sed -e \'s/@NET_CFG_SELF_IP@/%s/\' ' + \
Note: See TracChangeset for help on using the changeset viewer.