diff options
author | Chris Johns <chrisj@rtems.org> | 2023-04-03 14:05:43 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2023-04-13 12:14:33 +1000 |
commit | d633cc5b0301f81cc2748cba0d6fb32e19853c27 (patch) | |
tree | 3ea90bb38128cb809be84e5aa9ff5677e1cfd02c /wscript | |
parent | leon3: Replace ambapp_plb with ambapp_plb() (diff) | |
download | rtems-net-legacy-d633cc5b0301f81cc2748cba0d6fb32e19853c27.tar.bz2 |
waf: Add test network configuration support
- Add a support call to use the configuration
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -51,6 +51,11 @@ def init(ctx): def options(opt): rtems.options(opt) netlegacy.options(opt) + copts = opt.option_groups['configure options'] + copts.add_option('--net-test-config', + default='config.inc', + dest='net_config', + help='Network test configuration (default: %default)') def bsp_configure(conf, arch_bsp): @@ -63,6 +68,7 @@ def bsp_configure(conf, arch_bsp): def configure(conf): + conf.env.NET_CONFIG = conf.options.net_config rtems.configure(conf, bsp_configure) |