summaryrefslogtreecommitdiff
path: root/linkers/wscript
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2013-08-30 21:42:58 +0800
committerPeng Fan <van.freenix@gmail.com>2013-08-30 21:42:58 +0800
commit53ed116b90e9b9a920a6c0f939d28c035913d0ea (patch)
tree0ded092192b2549fc4839e68022d60948c1ed30a /linkers/wscript
parent64309e0b782526d01895dc5fa7d90a8de86eac2d (diff)
Implement a new tool 'rtems-ra'
rtems-ra supports converting an elf archive file into a rap archive file. It also support add, replace and delete rap files from the rap archive file.
Diffstat (limited to '')
-rw-r--r--linkers/wscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/linkers/wscript b/linkers/wscript
index 6b3b70d..a7cfb96 100644
--- a/linkers/wscript
+++ b/linkers/wscript
@@ -128,6 +128,19 @@ def build(bld):
use = modules)
#
+ # Build the ra linker.
+ #
+ bld.program(target = 'rtems-ra',
+ source = ['rtems-ra.cpp',
+ 'pkgconfig.cpp'] + rld_source,
+ defines = ['HAVE_CONFIG_H=1', 'RTEMS_VERSION=' + bld.env.RTEMS_VERSION],
+ includes = ['.'] + bld.includes,
+ cflags = bld.cflags + bld.warningflags,
+ cxxflags = bld.cxxflags + bld.warningflags,
+ linkflags = bld.linkflags,
+ use = modules)
+
+ #
# Build the symbols.
#
bld.program(target = 'rtems-syms',