[PATCH] build: Make BUILD_LIBDL configurable

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Aug 10 11:03:05 UTC 2023


---
 spec/build/cpukit/optlibdl.yml                | 32 +++++++++++--------
 spec/build/testsuites/libtests/optrtemsld.yml |  2 +-
 .../testsuites/libtests/optrtemssyms.yml      |  2 +-
 3 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/spec/build/cpukit/optlibdl.yml b/spec/build/cpukit/optlibdl.yml
index 74458daba1..33a424a520 100644
--- a/spec/build/cpukit/optlibdl.yml
+++ b/spec/build/cpukit/optlibdl.yml
@@ -1,21 +1,27 @@
 SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
-- set-value: true
+- get-boolean: null
 - env-enable: null
 build-type: option
 copyrights:
-- Copyright (C) 2020 embedded brains GmbH & Co. KG
-default: []
-description: ''
-enabled-by:
-- aarch64
-- arm
-- i386
-- m68k
-- mips
-- moxie
-- powerpc
-- sparc
+- Copyright (C) 2020, 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+  - aarch64
+  - arm
+  - i386
+  - m68k
+  - mips
+  - moxie
+  - powerpc
+  - sparc
+  value: true
+- enabled-by: true
+  value: false
+description: |
+  Build the libdl.
+enabled-by: true
+format: '{}'
 links: []
 name: BUILD_LIBDL
 type: build
diff --git a/spec/build/testsuites/libtests/optrtemsld.yml b/spec/build/testsuites/libtests/optrtemsld.yml
index 6752f19f70..92058448d6 100644
--- a/spec/build/testsuites/libtests/optrtemsld.yml
+++ b/spec/build/testsuites/libtests/optrtemsld.yml
@@ -8,6 +8,6 @@ copyrights:
 - Copyright (C) 2020 embedded brains GmbH & Co. KG
 default: []
 description: ''
-enabled-by: true
+enabled-by: BUILD_LIBDL
 links: []
 type: build
diff --git a/spec/build/testsuites/libtests/optrtemssyms.yml b/spec/build/testsuites/libtests/optrtemssyms.yml
index 2b145c4b58..925b6a3a7d 100644
--- a/spec/build/testsuites/libtests/optrtemssyms.yml
+++ b/spec/build/testsuites/libtests/optrtemssyms.yml
@@ -8,6 +8,6 @@ copyrights:
 - Copyright (C) 2020 embedded brains GmbH & Co. KG
 default: []
 description: ''
-enabled-by: true
+enabled-by: BUILD_LIBDL
 links: []
 type: build
-- 
2.35.3



More information about the devel mailing list