Warning, /spec/build/testsuites/libtests/dl08.yml is written in an unsupported language. File is not indexed.
0001 SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
0002 build-type: script
0003 cflags: []
0004 copyrights:
0005 - Copyright (C) 2020 embedded brains GmbH & Co. KG
0006 cppflags: []
0007 do-build: |
0008 path = "testsuites/libtests/dl08/"
0009 objs = []
0010 lib_objs = []
0011 lib_objs.append(self.cc(bld, bic, path + "dl08-o2.c"))
0012 lib_objs.append(self.cc(bld, bic, path + "dl08-o4.c"))
0013 objs.append(self.ar(bld, lib_objs, path + "libdl08_1.a"))
0014 lib_objs = []
0015 lib_objs.append(self.cc(bld, bic, path + "dl08-o3.c"))
0016 lib_objs.append(self.cc(bld, bic, path + "dl08-o5.c"))
0017 lib_objs.append(self.cc(bld, bic, path + "dl08-o6-123456789-123456789.c"))
0018 objs.append(self.ar(bld, lib_objs, path + "libdl08_2.a"))
0019 objs.append(self.cc(bld, bic, path + "dl08-o1.c"))
0020 tar = path + "dl08.tar"
0021 self.tar(bld, [path + "etc/libdl.conf"] + objs, [path], tar)
0022 tar_c, tar_h = self.bin2c(bld, tar)
0023 objs = []
0024 objs.append(self.cc(bld, bic, tar_c))
0025 objs.append(self.cc(bld, bic, path + "init.c", deps=[tar_h], cppflags=bld.env.TEST_DL08_CPPFLAGS))
0026 objs.append(self.cc(bld, bic, path + "dl-load.c"))
0027 dl08_pre = path + "dl08.pre"
0028 self.link_cc(bld, bic, objs, dl08_pre)
0029 dl08_sym_o = path + "dl08-sym.o"
0030 objs.append(dl08_sym_o)
0031 self.rtems_syms(bld, bic, dl08_pre, dl08_sym_o)
0032 self.link_cc(bld, bic, objs, "testsuites/libtests/dl08.exe")
0033 do-configure: null
0034 enabled-by:
0035 - and:
0036 - not: TEST_DL08_EXCLUDE
0037 - BUILD_LIBDL
0038 includes:
0039 - testsuites/libtests/dl08
0040 ldflags:
0041 - ${LIBDL_TESTS_LDFLAGS}
0042 links: []
0043 prepare-build: null
0044 prepare-configure: null
0045 stlib: []
0046 target: testsuites/libtests/dl08.exe
0047 type: build
0048 use-after: []
0049 use-before: []