Back to home page

LXR

 
 

    


Warning, /spec/build/testsuites/libtests/dl12.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) 2024 Ranulfo Raphael
0006 cppflags: []
0007 do-build: |
0008   path = "testsuites/libtests/dl12/"
0009   objs = []
0010   objs.append(self.cc(bld, bic, path + "dl12-o1.c"))
0011   objs.append(self.cc(bld, bic, path + "dl12-o2.c"))
0012   def ld(self, bld, bic, flags, source, target):
0013     bld(rule="${CC} ${ABI_FLAGS} " + flags + " ${SRC} -o ${TGT}",
0014       source=source,
0015       target=target)
0016     return target
0017   objs = [ld(self, bld, bic, '-r', objs, path + "dl12-inc.o")]
0018   tar = path + "dl12.tar"
0019   self.tar(bld, objs, [path], tar)
0020   tar_c, tar_h = self.bin2c(bld, tar)
0021   objs = []
0022   objs.append(self.cc(bld, bic, tar_c))
0023   objs.append(self.cc(bld, bic, path + "init.c", deps=[tar_h], cppflags=bld.env.TEST_DL12_CPPFLAGS))
0024   objs.append(self.cc(bld, bic, path + "dl-load.c"))
0025   dl12_pre = path + "dl12.pre"
0026   self.link_cc(bld, bic, objs, dl12_pre)
0027   dl12_sym_o = path + "dl12-sym.o"
0028   objs.append(dl12_sym_o)
0029   self.rtems_syms(bld, bic, dl12_pre, dl12_sym_o)
0030   self.link_cc(bld, bic, objs, "testsuites/libtests/dl12.exe")
0031 do-configure: null
0032 enabled-by:
0033 - and:
0034   - not: TEST_DL12_EXCLUDE
0035   - BUILD_LIBDL
0036 includes:
0037 - testsuites/libtests/dl12
0038 ldflags: []
0039 links: []
0040 prepare-build: null
0041 prepare-configure: null
0042 stlib: []
0043 target: testsuites/libtests/dl12.exe
0044 type: build
0045 use-after: []
0046 use-before: []