diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-05 18:18:11 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-05 18:18:11 +1000 |
commit | b05190cff6d524195fd045295ca84819f45b0cbb (patch) | |
tree | 6b80c0a820cc736246c97d7c993869bd3964164b /wscript | |
parent | 5679661069a8b9acaec26d61c8da797f0726506b (diff) |
Remove march/mcpu and add RTEMS BSP and cflags support.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -94,6 +94,7 @@ def build(bld): # RLD source. # rld_source = ['ConvertUTF.c', + 'pkgconfig.cpp', 'rld-config.cpp', 'rld-elf.cpp', 'rld-files.cpp', @@ -103,6 +104,7 @@ def build(bld): 'rld-path.cpp', 'rld-process.cpp', 'rld-resolver.cpp', + 'rld-rtems.cpp', 'rld-symbols.cpp', 'rld-rap.cpp', 'rld.cpp'] @@ -132,7 +134,7 @@ def build(bld): # Build the linker. # bld.program(target = 'rtems-ld', - source = ['rtems-ld.cpp', 'pkgconfig.cpp'], + source = ['rtems-ld.cpp'], defines = ['HAVE_CONFIG_H=1', 'RTEMS_VERSION=' + bld.env.RTEMS_VERSION], includes = ['.'] + bld.includes, cflags = bld.cflags + bld.warningflags, @@ -144,7 +146,7 @@ def build(bld): # Build the ra linker. # bld.program(target = 'rtems-ra', - source = ['rtems-ra.cpp', 'pkgconfig.cpp'], + source = ['rtems-ra.cpp'], defines = ['HAVE_CONFIG_H=1', 'RTEMS_VERSION=' + bld.env.RTEMS_VERSION], includes = ['.'] + bld.includes, cflags = bld.cflags + bld.warningflags, |