[RTEMS v2] optvermaj.yml: Allow __RTEMS_MAJOR__ to be overridden so RTEMS 7 tools can be tested

Chris Johns chrisj at rtems.org
Fri Nov 12 22:52:41 UTC 2021


Let me take a look at a configure option. I prefer it over spec files as this
creates another thing to change after a release.

Thanks
Chris

On 13/11/21 3:03 am, Joel Sherrill wrote:
> ---
>  spec/build/cpukit/optvermaj.yml | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/spec/build/cpukit/optvermaj.yml b/spec/build/cpukit/optvermaj.yml
> index 2596e6ef6a..e1a5eae5b3 100644
> --- a/spec/build/cpukit/optvermaj.yml
> +++ b/spec/build/cpukit/optvermaj.yml
> @@ -1,14 +1,16 @@
>  SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
>  actions:
> -- set-value: '6'
> +- get-string: null
>  - env-assign: null
>  build-type: option
>  copyrights:
>  - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
> -default: null
> +default: 6
>  default-by-variant: []
> -description: ''
> +description: |
> +  Major Component of the RTEMS Version Number
>  enabled-by: true
> +format: '{}' 
>  links: []
>  name: __RTEMS_MAJOR__
>  type: build
> 


More information about the devel mailing list