diff options
author | Chris Johns <chrisj@rtems.org> | 2012-10-22 18:46:59 -0700 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-10-22 18:46:59 -0700 |
commit | 3699247768c34ae65ea458202d2953b355944d76 (patch) | |
tree | 0d02662995f8091f37bd81626cd53224ed90c4d7 /wscript | |
parent | 575084057061ee97c8a08cc0331393cf79a69cad (diff) |
Add FastLZ support.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -69,13 +69,14 @@ def build(bld): # Create each of the modules as object files each with their own # configurations. # - libelf = bld_libelf(bld) - libiberty = bld_libiberty(bld) + bld_fastlz(bld) + bld_libelf(bld) + bld_libiberty(bld) # # The list of modules. # - modules = ['elf', 'iberty'] + modules = ['fastlz', 'elf', 'iberty'] # # Build the linker. @@ -111,6 +112,13 @@ def tags(ctx): def conf_libelf(conf): pass +def bld_fastlz(bld): + bld(target = 'fastlz', + features = 'c', + source = 'fastlz.c', + cflags = bld.cflags, + defines = ['FASTLZ_LEVEL=1']) + def bld_libelf(bld): libelf = 'elftoolchain/libelf/' |