mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 09:45:42 +08:00
modified: waf_generator.py Fix incorrect encoding of NET_CFG_GATEWAY_IP and change _IP_IP ending to _IP. Remove _IP_IP ending from NET_TAP_INTERFACE.
modified: wscript Re-generated from "./freebsd-to-rtems -m" based on waf_generator.py
This commit is contained in:
6
wscript
6
wscript
@@ -128,13 +128,13 @@ def build(bld):
|
||||
net_cfg_netmask = rhs
|
||||
if lhs == "NET_CFG_PEER_IP":
|
||||
net_cfg_peer_ip = rhs
|
||||
if lhs == "NET_CFG_GATEWAY_IP_IP":
|
||||
if lhs == "NET_CFG_GATEWAY_IP":
|
||||
net_cfg_gateway_ip = rhs
|
||||
if lhs == "NET_TAP_INTERFACE_IP_IP":
|
||||
if lhs == "NET_TAP_INTERFACE":
|
||||
net_tap_interface = rhs
|
||||
bld(target = "testsuite/include/rtems/bsd/test/network-config.h",
|
||||
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_netmask),
|
||||
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)
|
||||
|
||||
# KVM Symbols
|
||||
|
Reference in New Issue
Block a user