[rtems commit] spec/libdebugger: Only enable for supported architectures

Chris Johns chrisj at rtems.org
Mon Oct 25 02:54:56 UTC 2021


Module:    rtems
Branch:    master
Commit:    3f0ad2b3b70d62bee6b2effb4ff9b31650aff726
Changeset: http://git.rtems.org/rtems/commit/?id=3f0ad2b3b70d62bee6b2effb4ff9b31650aff726

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Oct 21 13:08:58 2021 +1100

spec/libdebugger: Only enable for supported architectures

Closes #4533

---

 spec/build/cpukit/cpuopts.yml                 |  2 ++
 spec/build/cpukit/libdebugger.yml             |  2 +-
 spec/build/cpukit/optlibdebugger.yml          | 16 ++++++++++++++++
 spec/build/testsuites/libtests/debugger01.yml |  4 +---
 4 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/spec/build/cpukit/cpuopts.yml b/spec/build/cpukit/cpuopts.yml
index 0a07f6d..908c65d 100644
--- a/spec/build/cpukit/cpuopts.yml
+++ b/spec/build/cpukit/cpuopts.yml
@@ -52,6 +52,8 @@ links:
 - role: build-dependency
   uid: optsmp
 - role: build-dependency
+  uid: optlibdebugger
+- role: build-dependency
   uid: optlibdl
 - role: build-dependency
   uid: optszblkcnt
diff --git a/spec/build/cpukit/libdebugger.yml b/spec/build/cpukit/libdebugger.yml
index f316cc1..5069571 100644
--- a/spec/build/cpukit/libdebugger.yml
+++ b/spec/build/cpukit/libdebugger.yml
@@ -5,7 +5,7 @@ copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 cppflags: []
 cxxflags: []
-enabled-by: true
+enabled-by: BUILD_LIBDEBUGGER
 includes: []
 install: []
 install-path: ${BSP_LIBDIR}
diff --git a/spec/build/cpukit/optlibdebugger.yml b/spec/build/cpukit/optlibdebugger.yml
new file mode 100644
index 0000000..5c7df0e
--- /dev/null
+++ b/spec/build/cpukit/optlibdebugger.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-value: true
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2021 Chris Johns (chrisj at rtems.org)
+default: null
+default-by-variant: []
+description: ''
+enabled-by:
+- arm
+- i386
+links: []
+name: BUILD_LIBDEBUGGER
+type: build
diff --git a/spec/build/testsuites/libtests/debugger01.yml b/spec/build/testsuites/libtests/debugger01.yml
index 720b643..20c538b 100644
--- a/spec/build/testsuites/libtests/debugger01.yml
+++ b/spec/build/testsuites/libtests/debugger01.yml
@@ -5,9 +5,7 @@ copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 cppflags: []
 cxxflags: []
-enabled-by:
-- arm
-- i386
+enabled-by: BUILD_LIBDEBUGGER
 features: c cprogram
 includes: []
 ldflags: []



More information about the vc mailing list