diff options
author | Chris Johns <chrisj@rtems.org> | 2012-05-28 08:24:13 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-05-28 08:24:13 +1000 |
commit | cf9263efe8711e1151612dfc6f675031226765b3 (patch) | |
tree | 20e2619b4711e9506d4f0753877b4a6759d78cbe | |
parent | 9f020ad54f678f6f2e271b3cb9153191f407f746 (diff) |
Add rebuild and tags build commands.
-rw-r--r-- | wscript | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -46,6 +46,13 @@ def build(bld): if bld.env.ASCIIDOC: bld(target = 'rtems-rtl.html', source = 'rtems-rtl.txt') +def rebuild(ctx): + import waflib.Options + waflib.Options.commands.extend(['clean', 'build']) + +def tags(ctx): + ctx.exec_command('etags $(find . -name \*.[sSch])', shell = True) + def rtl_source(bld, arch): bld(target = 'rtl', features = 'c', |