Warning, /spec/build/testsuites/libtests/dl10.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/dl10/"
0009 objs = []
0010 lib_objs = []
0011 lib_objs.append(self.cc(bld, bic, path + "dl10-o2.c"))
0012 lib_objs.append(self.cc(bld, bic, path + "dl10-o4.c"))
0013 objs.append(self.ar(bld, lib_objs, path + "libdl10_1.a"))
0014 lib_objs = []
0015 lib_objs.append(self.cc(bld, bic, path + "dl10-o3.c"))
0016 lib_objs.append(self.cc(bld, bic, path + "dl10-o5.c"))
0017 lib_objs.append(self.cc(bld, bic, path + "dl10-o6.c"))
0018 objs.append(self.ar(bld, lib_objs, path + "libdl10_2.a"))
0019 objs.append(self.cc(bld, bic, path + "dl10-o1.c"))
0020 tar = path + "dl10.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_DL10_CPPFLAGS))
0026 objs.append(self.cc(bld, bic, path + "dl-load.c"))
0027 dl10_pre = path + "dl10.pre"
0028 self.link_cc(bld, bic, objs, dl10_pre)
0029 dl10_sym_o = path + "dl10-sym.o"
0030 objs.append(dl10_sym_o)
0031 self.rtems_syms(bld, bic, dl10_pre, dl10_sym_o)
0032 self.link_cc(bld, bic, objs, "testsuites/libtests/dl10.exe")
0033 do-configure: null
0034 enabled-by:
0035 - and:
0036 - not: TEST_DL10_EXCLUDE
0037 - BUILD_LIBDL
0038 includes:
0039 - testsuites/libtests/dl10
0040 ldflags: []
0041 links: []
0042 prepare-build: null
0043 prepare-configure: null
0044 stlib: []
0045 target: testsuites/libtests/dl10.exe
0046 type: build
0047 use-after: []
0048 use-before: []