summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-11-29 19:08:57 +1100
committerChris Johns <chrisj@rtems.org>2012-11-29 19:08:57 +1100
commitfc313fda72db4b7aa774e191244bf83427b0fec1 (patch)
tree159e98d0ffaa489a4f4b3deb7ca49178df8bfa2a /wscript
parent62b19fe866226b8fa0ce54351162dab367daa06a (diff)
RAP file support.
This is the initial addition of support for LZ77 RTEMS applications in the RAP format. The change add support for different formats to the loader. Each format type is asked to check the file being loading and if it matches the format's loader is called to load the file. Support has been added to stream LZ77 files via the object file cache.
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/wscript b/wscript
index d493e8c..f178bc9 100644
--- a/wscript
+++ b/wscript
@@ -47,7 +47,9 @@ def build(bld):
bld.includes = ['.',
'libbsd/include',
'libbsd/include/arch/' + arch]
- bld.defines = ['PACKAGE_VERSION="' + version + '"']
+ bld.defines = ['PACKAGE_VERSION="' + version + '"',
+ 'RTEMS_RTL_ELF_LOADER=1',
+ 'RTEMS_RTL_RAP_LOADER=1']
bld.cflags = ['-g']
#
@@ -74,6 +76,7 @@ def build(bld):
target = 'rtl',
includes = bld.includes,
cflags = bld.cflags,
+ defines = bld.defines,
source = ['dlfcn.c',
'dlfcn-shell.c',
'fastlz.c',
@@ -86,6 +89,8 @@ def build(bld):
'rtl-error.c',
'rtl-obj.c',
'rtl-obj-cache.c',
+ 'rtl-obj-comp.c',
+ 'rtl-rap.c',
'rtl-shell.c',
'rtl-string.c',
'rtl-sym.c',