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

Joel Sherrill joel at rtems.org
Fri Nov 12 23:00:55 UTC 2021


On Fri, Nov 12, 2021 at 4:52 PM Chris Johns <chrisj at rtems.org> wrote:
>
> 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.

Happy to see an alternative way to do this. At this point, there was no way
to build RTEMS or any subsequent software with the rtems7 tools. That
seemed like a glaring hole in the testing.

--joel
>
> 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