diff options
author | Chris Johns <chrisj@rtems.org> | 2016-04-23 17:37:27 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-04-23 17:37:27 +1000 |
commit | e1e10cddee4be72c2a66218c2bc0393e578a7fdc (patch) | |
tree | be28236f336ed07b491020c3ebf3cd0ed08e9373 /wscript | |
parent | waf: Move the generated content to libbsd_waf.py. (diff) | |
download | rtems-libbsd-e1e10cddee4be72c2a66218c2bc0393e578a7fdc.tar.bz2 |
waf: Add the ability to set FreeBSD options on the configure command line.
Add --freebsd-options to add specific FreeBSD compile time options to
the build. This is a developer tool.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -63,6 +63,11 @@ def options(opt): default = "config.inc", dest = "net_config", help = "Network test configuration.") + opt.add_option("--freebsd-options", + action = "store", + default = "", + dest = "freebsd_options", + help = "Set FreeBSD options (developer option).") libbsd_waf.options(opt) def bsp_configure(conf, arch_bsp): @@ -82,8 +87,9 @@ def configure(conf): conf.env.AUTO_REGEN = conf.options.auto_regen conf.env.WARNINGS = conf.options.warnings conf.env.NET_CONFIG = conf.options.net_config + conf.env.FREEBSD_OPTIONS =conf.options.freebsd_options rtems.configure(conf, bsp_configure) - libbsd_waf.configure(conf, arch_bsp) + libbsd_waf.configure(conf) def build(bld): rtems.build(bld) |