[PATCH] waf: Add --rtems-version as a configure option

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 15 08:09:23 UTC 2021


On 14/11/2021 23:42, Chris Johns wrote:
>> With this approach you don't give the user the ability to change everything.
>> However, what can be change is defined by the build specification and not the
>> wscript.
> I understand the reason however you would need to implement it to show how it is
> done? Can we internally do:
> 
>   set_value("__RTEMS_MAJOR__", ctx.options.rtems_version)
> 
> ? I do not understand the how to make the change and then manage the sequence
> via the actions.

Please have a look at for a proof of concept:

https://lists.rtems.org/pipermail/devel/2021-November/069889.html

We can also add --rtems-version=X and map it to __RTEMS_MAJOR=X in the 
wscipt.

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