summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-09-15 17:58:00 +1000
committerChris Johns <chrisj@rtems.org>2012-09-15 17:58:00 +1000
commitb2a633fda1cb62a624042a41bf593572e50ed1a2 (patch)
tree82c2a50fe7fce7629f983bf1381a4c434bf90900 /wscript
parent75bb1e696321cf1b9ac6b124312b57560a06ff39 (diff)
Fix the waf script.
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 5 insertions, 5 deletions
diff --git a/wscript b/wscript
index f87e69e..37d0f3e 100644
--- a/wscript
+++ b/wscript
@@ -27,8 +27,8 @@ def options(opt):
help = 'Print the commands as strings.')
def configure(conf):
- conf.check_tool("g++")
- conf.check_tool("gcc")
+ conf.load("g++")
+ conf.load("gcc")
conf_libiberty(conf)
conf_libelf(conf)
@@ -68,7 +68,7 @@ def build(bld):
#
# Create each of the modules as object files each with their own
# configurations.
- #
+ #
libelf = bld_libelf(bld)
libiberty = bld_libiberty(bld)
@@ -132,7 +132,7 @@ def bld_libelf(bld):
rule = './${SRC} > ${TGT}')
elif sys.platform == 'win32':
host_source += [libelf + 'mmap_win32.c']
-
+
bld.stlib(target = 'elf',
features = 'c',
uses = ['native-elf-format'],
@@ -212,7 +212,7 @@ def conf_libiberty(conf):
conf.check(header_name='unistd.h', features = 'c', mandatory = False)
conf.check(header_name='vfork.h', features = 'c', mandatory = False)
- conf.check_cc(function_name='getrusage',
+ conf.check_cc(function_name='getrusage',
header_name="sys/time.h sys/resource.h",
features = 'c', mandatory = False)