build: various cleanups
This commit also updates waf to version 2.0.14
Change-Id: I9334f10451589e8141583f85e6cefcf199f68490
diff --git a/tools/wscript b/tools/wscript
index 9c46966..aee160c 100644
--- a/tools/wscript
+++ b/tools/wscript
@@ -4,7 +4,7 @@
from waflib import Options
def options(opt):
- for subdir in opt.path.ant_glob(['*'], dir=True, src=False):
+ for subdir in opt.path.ant_glob('*', dir=True, src=False):
tool = subdir.path_from(opt.path)
opt.add_option('--enable-%s' % tool,
help='Build tool %s, enabled by default' % tool,
@@ -29,7 +29,7 @@
is_disabled = getattr(Options.options, 'disable_%s' % tool)
if is_enabled and is_disabled:
- conf.fatal("--enable-%s and --disable-%s cannot be both specified" % (tool, tool))
+ conf.fatal('--enable-%s and --disable-%s cannot be both specified' % (tool, tool))
if is_enabled:
enabled_tools.add(tool)