mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 04:18:49 +08:00
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
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/dl01/"
|
|
objs = []
|
|
objs.append(self.cc(bld, bic, path + "dl01-o1.c"))
|
|
tar = path + "dl01.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_DL01_CPPFLAGS))
|
|
objs.append(self.cc(bld, bic, path + "dl-load.c"))
|
|
dl01_pre = path + "dl01.pre"
|
|
self.link_cc(bld, bic, objs, dl01_pre)
|
|
dl01_sym_o = path + "dl01-sym.o"
|
|
objs.append(dl01_sym_o)
|
|
self.rtems_syms(bld, dl01_pre, dl01_sym_o)
|
|
self.link_cc(bld, bic, objs, "testsuites/libtests/dl01.exe")
|
|
do-configure: null
|
|
enabled-by:
|
|
- and:
|
|
- not: TEST_DL01_EXCLUDE
|
|
- BUILD_LIBDL
|
|
includes:
|
|
- testsuites/libtests/dl01
|
|
ldflags: []
|
|
links: []
|
|
prepare-build: null
|
|
prepare-configure: null
|
|
stlib: []
|
|
type: build
|
|
use-after: []
|
|
use-before: []
|