<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 25, 2023 at 12:15 PM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 25.07.23 19:09, Joel Sherrill wrote:<br>
> <br>
> On Tue, Jul 25, 2023 at 10:12 AM Sebastian Huber <br>
> <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a> <br>
> <mailto:<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>>> wrote:<br>
> <br>
> Allow the user to set the version control key.<br>
> ---<br>
> spec/build/cpukit/grp.yml | 2 ++<br>
> spec/build/cpukit/optversionvckey.yml | 20 ++++++++++++++<br>
> wscript | 38 ++++++++++++++++-----------<br>
> 3 files changed, 44 insertions(+), 16 deletions(-)<br>
> create mode 100644 spec/build/cpukit/optversionvckey.yml<br>
> <br>
> diff --git a/spec/build/cpukit/grp.yml b/spec/build/cpukit/grp.yml<br>
> index e07e975d7d..fbeab45b5c 100644<br>
> --- a/spec/build/cpukit/grp.yml<br>
> +++ b/spec/build/cpukit/grp.yml<br>
> @@ -18,6 +18,8 @@ links:<br>
> uid: cpuopts<br>
> - role: build-dependency<br>
> uid: cfghdr<br>
> +- role: build-dependency<br>
> + uid: optversionvckey<br>
> - role: build-dependency<br>
> uid: libdebugger<br>
> - role: build-dependency<br>
> diff --git a/spec/build/cpukit/optversionvckey.yml<br>
> b/spec/build/cpukit/optversionvckey.yml<br>
> new file mode 100644<br>
> index 0000000000..7197381342<br>
> --- /dev/null<br>
> +++ b/spec/build/cpukit/optversionvckey.yml<br>
> @@ -0,0 +1,20 @@<br>
> +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause<br>
> +actions:<br>
> +- get-string: null<br>
> +- env-assign: null<br>
> +build-type: option<br>
> +copyrights:<br>
> +- Copyright (C) 2022, 2023 embedded brains GmbH & Co. KG<br>
> +default:<br>
> +- enabled-by: true<br>
> + value: ''<br>
> +description: |<br>
> + If defined to a non-empty value, then the value will be used for<br>
> the version<br>
> + control key returned by rtems_version() and<br>
> rtems_version_control_key(),<br>
> + otherwise the value will be determined by the Git repository<br>
> containing the<br>
> + waf top directory.<br>
> <br>
> <br>
> And would this change for a release tarball?<br>
<br>
Which RTEMS_VERSION_VC_KEY has a release tarball? What happens if you <br>
unpack an release archive in an external Git repository?<br></blockquote><div><br></div><div>I don't know but think we should discuss it. </div><div><br></div><div>Chris should speak up since the release scripts are his and this </div><div>might be used by the distribution packaging he has made available.</div><div><br></div><div>--joel </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax: +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
</blockquote></div></div>