summaryrefslogtreecommitdiff
path: root/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
commit09469993e4e291f2ebfc8e898e6fa12e897e123d (patch)
treef8fab37b57060ed3cbe1e2cd43aeb51a052dad65 /wscript
parent10adaf5457e38794c8005afa13d919e77a534efa (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 'wscript')
-rw-r--r--wscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/wscript b/wscript
index 6b3b70d..a7cfb96 100644
--- a/wscript
+++ b/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',