summaryrefslogtreecommitdiffstats
path: root/libbsd_waf.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-05-06 15:44:21 +1000
committerChris Johns <chrisj@rtems.org>2016-05-06 15:44:21 +1000
commita51d0fea6880046300fcf466a767f88eab9a6f9a (patch)
tree8dc07a1a649520cdbb1bf1bff64ef96506b638b0 /libbsd_waf.py
parentAdd sbin/sysctl (diff)
downloadrtems-libbsd-a51d0fea6880046300fcf466a767f88eab9a6f9a.tar.bz2
Move network-config.h to the top of the testsuite include path.
Diffstat (limited to 'libbsd_waf.py')
-rw-r--r--libbsd_waf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbsd_waf.py b/libbsd_waf.py
index 1f50306b..d83cb943 100644
--- a/libbsd_waf.py
+++ b/libbsd_waf.py
@@ -105,7 +105,7 @@ def build(bld):
net_cfg_gateway_ip = rhs
if lhs == "NET_TAP_INTERFACE":
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",
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)