mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 22:54:54 +08:00
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
|
build-type: script
|
|
cflags:
|
|
- ${TEST_OPTIMIZATION_FLAGS}
|
|
copyrights:
|
|
- Copyright (C) 2020 embedded brains GmbH & Co. KG
|
|
cppflags: []
|
|
do-build: |
|
|
path = "testsuites/libtests/dl09/"
|
|
objs = []
|
|
objs.append(self.cc(bld, bic, path + "dl09-o1.c"))
|
|
objs.append(self.cc(bld, bic, path + "dl09-o2.c"))
|
|
objs.append(self.cc(bld, bic, path + "dl09-o3.c"))
|
|
objs.append(self.cc(bld, bic, path + "dl09-o4.c"))
|
|
objs.append(self.cc(bld, bic, path + "dl09-o5.c"))
|
|
tar = path + "dl09.tar"
|
|
self.tar(bld, 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_DL09_CPPFLAGS))
|
|
objs.append(self.cc(bld, bic, path + "dl-load.c"))
|
|
dl09_pre = path + "dl09.pre"
|
|
self.link_cc(bld, bic, objs, dl09_pre)
|
|
dl09_sym_o = path + "dl09-sym.o"
|
|
objs.append(dl09_sym_o)
|
|
self.rtems_syms(bld, dl09_pre, dl09_sym_o)
|
|
self.link_cc(bld, bic, objs, "testsuites/libtests/dl09.exe")
|
|
do-configure: null
|
|
enabled-by:
|
|
- and:
|
|
- not: TEST_DL09_EXCLUDE
|
|
- BUILD_LIBDL
|
|
includes:
|
|
- testsuites/libtests/dl09
|
|
ldflags: []
|
|
links: []
|
|
prepare-build: null
|
|
prepare-configure: null
|
|
stlib: []
|
|
type: build
|
|
use-after: []
|
|
use-before: []
|