diff options
author | Chris Johns <chrisj@rtems.org> | 2015-02-08 17:12:04 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2015-02-08 17:12:04 +1100 |
commit | b7d48ef5a4a09010305a5981f64005161a34409d (patch) | |
tree | d67a781bd460bfc367d1e038ed9f3a8d870884fd /rtemstoolkit/wscript | |
parent | Remove warning on Linux. (diff) | |
download | rtems-tools-b7d48ef5a4a09010305a5981f64005161a34409d.tar.bz2 |
Install the rtems-test command.
This installs the Python RTEMS Toolkit.
The copmiler has been switched from forcing gcc to allowing waf
to detect the host's tool chain.
Diffstat (limited to 'rtemstoolkit/wscript')
-rw-r--r-- | rtemstoolkit/wscript | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/rtemstoolkit/wscript b/rtemstoolkit/wscript index 07703a0..229deeb 100644 --- a/rtemstoolkit/wscript +++ b/rtemstoolkit/wscript @@ -14,12 +14,12 @@ top = '.' out = 'build-' + sys.platform def options(opt): - opt.load("g++") - opt.load("gcc") + opt.load('compiler_c') + opt.load('compiler_cxx') def configure(conf): - conf.load("g++") - conf.load("gcc") + conf.load('compiler_c') + conf.load('compiler_cxx') conf_libiberty(conf) conf_libelf(conf) @@ -100,6 +100,29 @@ def build(bld): cxxflags = conf['cxxflags'] + conf['warningflags'], linkflags = conf['linkflags']) + # + # The Python toolkit. + # + bld(features = 'py', + source = ['__init__.py', + 'check.py', + 'config.py', + 'darwin.py', + 'error.py', + 'execute.py', + 'freebsd.py', + 'git.py', + 'linux.py', + 'log.py', + 'macros.py', + 'mailer.py', + 'options.py', + 'path.py', + 'stacktraces.py', + 'version.py', + 'windows.py'], + install_path = '${PREFIX}/share/rtems/rtemstoolkit') + def rebuild(ctx): import waflib.Options waflib.Options.commands.extend(['clean', 'build']) |