diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-07-19 13:09:43 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-14 07:11:32 +0200 |
commit | f3f0370f1054f4e49aa8f5ea70485d673e8e94b6 (patch) | |
tree | 11d44920353aea9bf4301eb267f8c831e622520e /spec/build/testsuites/libtests/dl10.yml | |
parent | i386/score: fix assembly mnemonic (diff) | |
download | rtems-f3f0370f1054f4e49aa8f5ea70485d673e8e94b6.tar.bz2 |
build: Alternative build system based on waf
Update #3818.
Diffstat (limited to 'spec/build/testsuites/libtests/dl10.yml')
-rw-r--r-- | spec/build/testsuites/libtests/dl10.yml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/spec/build/testsuites/libtests/dl10.yml b/spec/build/testsuites/libtests/dl10.yml new file mode 100644 index 0000000000..ba09a6f444 --- /dev/null +++ b/spec/build/testsuites/libtests/dl10.yml @@ -0,0 +1,47 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: script +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +cppflags: [] +do-build: | + path = "testsuites/libtests/dl10/" + objs = [] + lib_objs = [] + lib_objs.append(self.cc(bld, bic, path + "dl10-o2.c")) + lib_objs.append(self.cc(bld, bic, path + "dl10-o4.c")) + objs.append(self.ar(bld, lib_objs, path + "libdl10_1.a")) + lib_objs = [] + lib_objs.append(self.cc(bld, bic, path + "dl10-o3.c")) + lib_objs.append(self.cc(bld, bic, path + "dl10-o5.c")) + lib_objs.append(self.cc(bld, bic, path + "dl10-o6.c")) + objs.append(self.ar(bld, lib_objs, path + "libdl10_2.a")) + objs.append(self.cc(bld, bic, path + "dl10-o1.c")) + tar = path + "dl10.tar" + self.pax(bld, [path + "etc/libdl.conf"] + objs, [path], tar) + tar_c, tar_h = self.bin2c(bld, tar) + objs = [] + objs.append(self.cc(bld, bic, tar_c)) + objs.append(self.cc(bld, bic, path + "init.c", deps=[tar_h], cppflags=bld.env.TEST_DL10_CPPFLAGS)) + objs.append(self.cc(bld, bic, path + "dl-load.c")) + dl10_pre = path + "dl10.pre" + self.link_cc(bld, bic, objs, dl10_pre) + dl10_sym_o = path + "dl10-sym.o" + objs.append(dl10_sym_o) + self.rtems_syms(bld, dl10_pre, dl10_sym_o) + self.link_cc(bld, bic, objs, "testsuites/libtests/dl10.exe") +do-configure: null +enabled-by: +- and: + - not: TEST_DL10_EXCLUDE + - BUILD_LIBDL +includes: +- testsuites/libtests/dl10 +ldflags: [] +links: [] +prepare-build: null +prepare-configure: null +stlib: [] +type: build +use-after: [] +use-before: [] |