summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--linkers/wscript2
-rw-r--r--rtemstoolkit/wscript19
2 files changed, 10 insertions, 11 deletions
diff --git a/linkers/wscript b/linkers/wscript
index 5dd151c..99aa86a 100644
--- a/linkers/wscript
+++ b/linkers/wscript
@@ -50,7 +50,7 @@ def build(bld):
#
# The list of modules.
#
- modules = ['rld', 'fastlz', 'elf', 'iberty']
+ modules = ['rld', 'elf', 'iberty']
#
# Build the linker.
diff --git a/rtemstoolkit/wscript b/rtemstoolkit/wscript
index 80d80ec..544321a 100644
--- a/rtemstoolkit/wscript
+++ b/rtemstoolkit/wscript
@@ -54,7 +54,6 @@ def build(bld):
# Create each of the modules as object files each with their own
# configurations.
#
- bld_fastlz(bld, conf)
bld_libelf(bld, conf)
bld_libiberty(bld, conf)
@@ -83,12 +82,19 @@ def build(bld):
rtems_utils = ['rtems-utils.cpp']
#
+ # Compression.
+ #
+ compression = ['fastlz.c']
+
+ #
# RTL static library
#
bld.stlib(target = 'rld',
install_path = None,
- source = rld_source + rtems_utils,
- defines = ['HAVE_CONFIG_H=1', 'RTEMS_VERSION=' + bld.env.RTEMS_VERSION],
+ source = rld_source + rtems_utils + compression,
+ defines = ['HAVE_CONFIG_H=1',
+ 'RTEMS_VERSION=' + bld.env.RTEMS_VERSION,
+ 'FASTLZ_LEVEL=1'],
includes = ['.'] + conf['includes'],
cflags = conf['cflags'] + conf['warningflags'],
cxxflags = conf['cxxflags'] + conf['warningflags'],
@@ -107,13 +113,6 @@ def tags(ctx):
def conf_libelf(conf):
pass
-def bld_fastlz(bld, conf):
- bld(target = 'fastlz',
- features = 'c',
- source = 'fastlz.c',
- cflags = conf['cflags'],
- defines = ['FASTLZ_LEVEL=1'])
-
def bld_libelf(bld, conf):
libelf = 'elftoolchain/libelf/'