diff options
author | Vijay Kumar Banerjee <vijay@rtems.org> | 2020-05-04 00:14:00 +0530 |
---|---|---|
committer | Vijay Kumar Banerjee <vijay@rtems.org> | 2020-08-05 14:22:51 +0530 |
commit | 35fc309241de78104056d067bf351c4b0a042c75 (patch) | |
tree | 5ba9be9290fd9ea39e256700dc1c93c08f2fb6ef | |
parent | Update rtems_waf (diff) | |
download | rtems-libbsd-35fc309241de78104056d067bf351c4b0a042c75.tar.bz2 |
wscript: add uninstall command
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -151,7 +151,7 @@ def bsp_init(ctx, env, contexts): # Transform the commands to per build variant commands commands = [] for cmd in waflib.Options.commands: - if cmd.startswith(('build', 'clean', 'install')): + if cmd.startswith(('build', 'clean', 'install', 'uninstall')): for builder in builders: commands += [str(cmd + '-' + builder)] else: @@ -226,6 +226,9 @@ def configure(conf): update_builders(conf, conf.env.BUILDSET) rtems.configure(conf, bsp_configure) +def test(bld): + rtems.test_uninstall(bld) + def build(bld): rtems.build(bld) builders[bld.libbsd_buildset_name].build(bld) |