mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-24 02:22:03 +08:00
wscript: add uninstall command
This commit is contained in:
parent
f1eb69a4a3
commit
35fc309241
5
wscript
5
wscript
@ -151,7 +151,7 @@ def bsp_init(ctx, env, contexts):
|
|||||||
# Transform the commands to per build variant commands
|
# Transform the commands to per build variant commands
|
||||||
commands = []
|
commands = []
|
||||||
for cmd in waflib.Options.commands:
|
for cmd in waflib.Options.commands:
|
||||||
if cmd.startswith(('build', 'clean', 'install')):
|
if cmd.startswith(('build', 'clean', 'install', 'uninstall')):
|
||||||
for builder in builders:
|
for builder in builders:
|
||||||
commands += [str(cmd + '-' + builder)]
|
commands += [str(cmd + '-' + builder)]
|
||||||
else:
|
else:
|
||||||
@ -226,6 +226,9 @@ def configure(conf):
|
|||||||
update_builders(conf, conf.env.BUILDSET)
|
update_builders(conf, conf.env.BUILDSET)
|
||||||
rtems.configure(conf, bsp_configure)
|
rtems.configure(conf, bsp_configure)
|
||||||
|
|
||||||
|
def test(bld):
|
||||||
|
rtems.test_uninstall(bld)
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
rtems.build(bld)
|
rtems.build(bld)
|
||||||
builders[bld.libbsd_buildset_name].build(bld)
|
builders[bld.libbsd_buildset_name].build(bld)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user