Changeset 435d879 in rtems-tools


Ignore:
Timestamp:
Sep 13, 2014, 2:26:45 AM (5 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
149a8a6
Parents:
73eb48a
Message:

rtk: Build fastlz into the rld library.

Do not build as an object per program.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • linkers/wscript

    r73eb48a r435d879  
    5151    # The list of modules.
    5252    #
    53     modules = ['rld', 'fastlz', 'elf', 'iberty']
     53    modules = ['rld', 'elf', 'iberty']
    5454
    5555    #
  • rtemstoolkit/wscript

    r73eb48a r435d879  
    5555    # configurations.
    5656    #
    57     bld_fastlz(bld, conf)
    5857    bld_libelf(bld, conf)
    5958    bld_libiberty(bld, conf)
     
    8483
    8584    #
     85    # Compression.
     86    #
     87    compression = ['fastlz.c']
     88
     89    #
    8690    # RTL static library
    8791    #
    8892    bld.stlib(target = 'rld',
    8993              install_path = None,
    90               source = rld_source + rtems_utils,
    91               defines = ['HAVE_CONFIG_H=1', 'RTEMS_VERSION=' + bld.env.RTEMS_VERSION],
     94              source = rld_source + rtems_utils + compression,
     95              defines = ['HAVE_CONFIG_H=1',
     96                         'RTEMS_VERSION=' + bld.env.RTEMS_VERSION,
     97                         'FASTLZ_LEVEL=1'],
    9298              includes = ['.'] + conf['includes'],
    9399              cflags = conf['cflags'] + conf['warningflags'],
     
    107113def conf_libelf(conf):
    108114    pass
    109 
    110 def bld_fastlz(bld, conf):
    111     bld(target = 'fastlz',
    112         features = 'c',
    113         source = 'fastlz.c',
    114         cflags = conf['cflags'],
    115         defines = ['FASTLZ_LEVEL=1'])
    116115
    117116def bld_libelf(bld, conf):
Note: See TracChangeset for help on using the changeset viewer.