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 | 31bf37564b273a085f1fbda47b0b55fe8c913736 (patch) | |
tree | 0f59ade95de29d38db357b23348fc3004f4a0bcf /linkers/wscript | |
parent | Add support for RTEMS BSP or user supplied CFLAGS. Remove march/mcpu. (diff) | |
download | rtems-tools-31bf37564b273a085f1fbda47b0b55fe8c913736.tar.bz2 |
Remove march/mcpu and add RTEMS BSP and cflags support.
Diffstat (limited to 'linkers/wscript')
-rw-r--r-- | linkers/wscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linkers/wscript b/linkers/wscript index e6a3fbe..7540566 100644 --- a/linkers/wscript +++ b/linkers/wscript @@ -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, |