summaryrefslogtreecommitdiffstats
path: root/spec/build/testsuites/libtests/dl06.yml
blob: cd19712b42ba857c9328341d78e7e9ed902683a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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/dl06/"
  pre_tar = path + "dl06-pre.tar"
  self.pax(bld, path + "dl06_pre_file", [path], pre_tar)
  pre_tar_c, pre_tar_h = self.bin2c(bld, pre_tar, name="dl06_tar")
  objs = []
  objs.append(self.cc(bld, bic, pre_tar_c))
  objs.append(self.cc(bld, bic, path + "pre-init.c", deps=[pre_tar_h], cppflags=bld.env.TEST_DL06_CPPFLAGS))
  dl_load_o = self.cc(bld, bic, path + "dl-load.c")
  objs.append(dl_load_o)
  dl06_pre = path + "dl06.pre"
  self.link_cc(bld, bic, objs, dl06_pre)
  objs = []
  objs.append(self.cc(bld, bic, path + "dl06-o1.c"))
  objs.append(self.cc(bld, bic, path + "dl06-o2.c"))
  dl06_rap = path + "dl06.rap"
  self.rtems_rap(bld, dl06_pre, objs, ["m"], dl06_rap)
  tar = path + "dl06.tar"
  self.pax(bld, dl06_rap, [path], tar)
  tar_c, tar_h = self.bin2c(bld, tar)
  objs.append(self.cc(bld, bic, tar_c))
  objs.append(self.cc(bld, bic, path + "init.c", deps=[tar_h], cppflags=bld.env.TEST_DL06_CPPFLAGS))
  objs.append(dl_load_o)
  dl06_sym_o = path + "dl06-sym.o"
  objs.append(dl06_sym_o)
  self.rtems_syms(bld, dl06_pre, dl06_sym_o)
  self.link_cc(bld, bic, objs, "testsuites/libtests/dl06.exe")
do-configure: null
enabled-by:
- and:
  - not: TEST_DL06_EXCLUDE
  - BUILD_LIBDL
includes:
- testsuites/libtests/dl06
ldflags: []
links: []
prepare-build: null
prepare-configure: null
stlib: []
type: build
use-after: []
use-before: []