mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-23 16:17:47 +08:00
Move network-config.h to the top of the testsuite include path.
This commit is contained in:
parent
83eb07c4d6
commit
a51d0fea68
@ -105,7 +105,7 @@ def build(bld):
|
|||||||
net_cfg_gateway_ip = rhs
|
net_cfg_gateway_ip = rhs
|
||||||
if lhs == "NET_TAP_INTERFACE":
|
if lhs == "NET_TAP_INTERFACE":
|
||||||
net_tap_interface = rhs
|
net_tap_interface = rhs
|
||||||
bld(target = "testsuite/include/rtems/bsd/test/network-config.h",
|
bld(target = "testsuite/include/network-config.h",
|
||||||
source = "testsuite/include/rtems/bsd/test/network-config.h.in",
|
source = "testsuite/include/rtems/bsd/test/network-config.h.in",
|
||||||
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),
|
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),
|
||||||
update_outputs = True)
|
update_outputs = True)
|
||||||
|
@ -338,7 +338,7 @@ class ModuleManager(builder.ModuleManager):
|
|||||||
self.add(' net_cfg_gateway_ip = rhs')
|
self.add(' net_cfg_gateway_ip = rhs')
|
||||||
self.add(' if lhs == "NET_TAP_INTERFACE":')
|
self.add(' if lhs == "NET_TAP_INTERFACE":')
|
||||||
self.add(' net_tap_interface = rhs')
|
self.add(' net_tap_interface = rhs')
|
||||||
self.add(' bld(target = "testsuite/include/rtems/bsd/test/network-config.h",')
|
self.add(' bld(target = "testsuite/include/network-config.h",')
|
||||||
self.add(' source = "testsuite/include/rtems/bsd/test/network-config.h.in",')
|
self.add(' source = "testsuite/include/rtems/bsd/test/network-config.h.in",')
|
||||||
self.add(' rule = "sed -e \'s/@NET_CFG_SELF_IP@/%s/\' ' + \
|
self.add(' rule = "sed -e \'s/@NET_CFG_SELF_IP@/%s/\' ' + \
|
||||||
'-e \'s/@NET_CFG_NETMASK@/%s/\' ' + \
|
'-e \'s/@NET_CFG_NETMASK@/%s/\' ' + \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user