Changeset 7136550 in rtems-libbsd


Ignore:
Timestamp:
Jun 12, 2019, 7:21:33 AM (6 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
1e98999
Parents:
c099dbe
git-author:
Chris Johns <chrisj@…> (06/12/19 07:21:33)
git-committer:
Chris Johns <chrisj@…> (06/12/19 07:20:28)
Message:

config: Control the interface from the command line net config file.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • config.inc

    rc099dbe r7136550  
     1NET_CFG_INTERFACE_0 = lo0
    12NET_CFG_SELF_IP = 10.0.2.1
    23NET_CFG_NETMASK = 255.255.0.0
  • testsuite/include/rtems/bsd/test/network-config.h.in

    rc099dbe r7136550  
    5454  #define NET_CFG_INTERFACE_0 "if_atsam0"
    5555#else
    56   #define NET_CFG_INTERFACE_0 "lo0"
     56  #define NET_CFG_INTERFACE_0 "@NET_CFG_INTERFACE_0@"
    5757#endif
    5858
  • waf_libbsd.py

    rc099dbe r7136550  
    219219        if not os.path.exists(bld.env.NET_CONFIG):
    220220            bld.fatal('network configuraiton \'%s\' not found' % (bld.env.NET_CONFIG))
    221         tags = [ 'NET_CFG_SELF_IP',
     221        tags = [ 'NET_CFG_INTERFACE_0',
     222                 'NET_CFG_SELF_IP',
    222223                 'NET_CFG_NETMASK',
    223224                 'NET_CFG_PEER_IP',
Note: See TracChangeset for help on using the changeset viewer.