From d8bfa5a9bc3f691c0bfda89de8d6f17eca5bd327 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 23 Feb 2021 10:58:56 +0100 Subject: rtems: Add rtems_get_build_label() Update #4269. --- spec/build/cpukit/cpuopts.yml | 2 ++ spec/build/cpukit/librtemscpu.yml | 1 + spec/build/cpukit/optbuildlabel.yml | 16 ++++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 spec/build/cpukit/optbuildlabel.yml (limited to 'spec/build/cpukit') 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 @@ -33,6 +33,8 @@ links: uid: optinstall - role: build-dependency uid: optada +- role: build-dependency + uid: optbuildlabel - role: build-dependency uid: optdebug - role: build-dependency 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 -- cgit v1.2.3