summaryrefslogtreecommitdiffstats
path: root/spec/build/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-23 10:58:56 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-25 16:16:16 +0100
commitd8bfa5a9bc3f691c0bfda89de8d6f17eca5bd327 (patch)
tree05c4907e959067ced0d5ebb255900d0049f069cf /spec/build/cpukit
parentconfig: Adjust stack allocator initialization (diff)
downloadrtems-d8bfa5a9bc3f691c0bfda89de8d6f17eca5bd327.tar.bz2
rtems: Add rtems_get_build_label()
Update #4269.
Diffstat (limited to 'spec/build/cpukit')
-rw-r--r--spec/build/cpukit/cpuopts.yml2
-rw-r--r--spec/build/cpukit/librtemscpu.yml1
-rw-r--r--spec/build/cpukit/optbuildlabel.yml16
3 files changed, 19 insertions, 0 deletions
diff --git a/spec/build/cpukit/cpuopts.yml b/spec/build/cpukit/cpuopts.yml
index 4b2a818b64..e0da529c50 100644
--- a/spec/build/cpukit/cpuopts.yml
+++ b/spec/build/cpukit/cpuopts.yml
@@ -34,6 +34,8 @@ links:
- role: build-dependency
uid: optada
- role: build-dependency
+ uid: optbuildlabel
+- role: build-dependency
uid: optdebug
- role: build-dependency
uid: optdrvmgr
diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml
index 8bd108bea8..c31fa8f5ec 100644
--- a/spec/build/cpukit/librtemscpu.yml
+++ b/spec/build/cpukit/librtemscpu.yml
@@ -1338,6 +1338,7 @@ source:
- cpukit/sapi/src/extensionident.c
- cpukit/sapi/src/fatal.c
- cpukit/sapi/src/fatalsrctext.c
+- cpukit/sapi/src/getbuildlabel.c
- cpukit/sapi/src/getconfigmax.c
- cpukit/sapi/src/getcopyrightnotice.c
- cpukit/sapi/src/getversionstring.c
diff --git a/spec/build/cpukit/optbuildlabel.yml b/spec/build/cpukit/optbuildlabel.yml
new file mode 100644
index 0000000000..f039089622
--- /dev/null
+++ b/spec/build/cpukit/optbuildlabel.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+default: DEFAULT
+default-by-variant: []
+description: |
+ Defines the build label returned by rtems_get_build_label().
+enabled-by: true
+format: '{}'
+links: []
+name: RTEMS_BUILD_LABEL
+type: build