[PATCH] build: Add RTEMS_QUALIFIED
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Nov 3 14:31:01 UTC 2023
On 03.11.23 15:08, Joel Sherrill wrote:
>
> On Fri, Nov 3, 2023 at 3:58 AM Sebastian Huber
> <sebastian.huber at embedded-brains.de
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
>
> The goal of the RTEMS pre-qualification activity #3701 is a specified
> and validated subset of RTEMS. For users of the pre-qualified subset of
> RTEMS it is important to not accidentally use not pre-qualified
> features. One way to achieve this, is to build only the sources of the
> pre-qualified feature set. This customized build is enabled by the new
> build configuration option RTEMS_QUALIFIED. If it is enabled, then only
> the pre-qualified subset of RTEMS is built and installed.
>
> Building with RTEMS_QUALIFIED enable is currently only supported for the
> sparc/leon3 BSP family. To support an RTEMS_QUALIFIED enabled build,
> changes in the CPU port and the BSP are required to only use features of
> the pre-qualified feature set.
>
>
> Where is this documented?
You mean a documentation of what needs to be done to create
pre-qualified BSP? I don't have it available yet. A good place to add
this would be the how-to section in the RTEMS Software Engineering manual.
>
> This is a very large patch. Are you assuming that if "not qualified" is
> specified,
> then it is in the qualified set?
No, the logic is reversed. Everything is built by default. Some parts
are only enabled if RTEMS_QUALIFIED is not enabled, for example
(spec/build/cpukit/objextra.yml):
enabled-by:
not: RTEMS_QUALIFIED
>
> Nothing below here. It is just too large to understand the pattern you are
> attempting to apply and I cannot figure out if it is right or not. I
> understand
> tailoring to a qualified subset but not the details of what yaml/rtems
> configuration
> files is attempting to do. I can't tell if the changes are right or not.
The patch set introduces a couple of new files with specific patterns:
* obj*extra.yml files for objects which are only available if
RTEMS_QUALIFIED is not enabled
* obj*qual.yml files for objects which are only available if
RTEMS_QUALIFIED is enabled
Several libraries are now only available if RTEMS_QUALIFIED is not enabled.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list