[rtems-libbsd commit] wscript: add uninstall command

Vijay Kumar Banerjee vijay at rtems.org
Wed Aug 5 08:54:40 UTC 2020


Module:    rtems-libbsd
Branch:    master
Commit:    35fc309241de78104056d067bf351c4b0a042c75
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=35fc309241de78104056d067bf351c4b0a042c75

Author:    Vijay Kumar Banerjee <vijay at rtems.org>
Date:      Mon May  4 00:32:00 2020 +0530

wscript: add uninstall command

---

 wscript | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/wscript b/wscript
index faeb6b1..03151bb 100644
--- a/wscript
+++ b/wscript
@@ -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)



More information about the vc mailing list