diff options
author | Chris Johns <chrisj@rtems.org> | 2018-05-23 20:39:54 +1200 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-06-18 12:26:16 +1000 |
commit | 1f1a10f4716e8d9b166f9c4741554fbbfa26fe66 (patch) | |
tree | b5e989279b87386f153c28b5729e9528a7866d35 /rtemstoolkit/wscript | |
parent | tester/covoar: ExecutableInfo C to C++ change. (diff) | |
download | rtems-tools-1f1a10f4716e8d9b166f9c4741554fbbfa26fe66.tar.bz2 |
elftoolchain: Add libelftc.
Diffstat (limited to 'rtemstoolkit/wscript')
-rw-r--r-- | rtemstoolkit/wscript | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/rtemstoolkit/wscript b/rtemstoolkit/wscript index 4c30935..4b5fa34 100644 --- a/rtemstoolkit/wscript +++ b/rtemstoolkit/wscript @@ -170,6 +170,7 @@ def conf_elftoolchain(conf): def bld_elftoolchain(bld, conf): libelf = 'elftoolchain/libelf/' + libelftc = 'elftoolchain/libelftc/' libdwarf = 'elftoolchain/libdwarf/' libelf_m4_rule = '${M4} -D SRCDIR=../rtemstoolkit/' + libelf[:-1] + ' ${SRC} > ${TGT}' libdwarf_m4_rule = '${M4} -D SRCDIR=../rtemstoolkit/' + libdwarf[:-1] + ' ${SRC} > ${TGT}' @@ -334,6 +335,29 @@ def bld_elftoolchain(bld, conf): libdwarf + 'libdwarf_sections.c', libdwarf + 'libdwarf_str.c'] + libdwarf_m4_source) + bld.stlib(target = 'elftc', + features = 'c', + install_path = None, + includes = [bld.bldnode.abspath(), + 'elftoolchain/libelf', + 'elftoolchain/libelftc', + 'elftoolchain/common'] + includes, + cflags = conf['cflags'], + source =[libelftc + 'elftc_bfdtarget.c', + libelftc + 'elftc_copyfile.c', + libelftc + 'elftc_demangle.c', + libelftc + 'elftc_reloc_type_str.c', + libelftc + 'elftc_set_timestamps.c', + libelftc + 'elftc_string_table.c', + libelftc + 'elftc_timestamp.c', + libelftc + 'elftc_version.c', + libelftc + 'libelftc_bfdtarget.c', + libelftc + 'libelftc_dem_arm.c', + libelftc + 'libelftc_dem_gnu2.c', + libelftc + 'libelftc_dem_gnu3.c', + libelftc + 'libelftc_hash.c', + libelftc + 'libelftc_vstr.c']) + # # Libiberty module. # |