[PATCH] build: Add the BSP family to the enable set

Chris Johns chrisj at rtems.org
Thu Jul 15 06:23:03 UTC 2021


That is a nice change.

OK to push

Chris

On 15/7/21 4:19 pm, Sebastian Huber wrote:
> This makes it possible to use the BSP family in expressions of the enabled-by
> attribute.
> ---
>  wscript | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/wscript b/wscript
> index 487951fdba..1331ae149e 100755
> --- a/wscript
> +++ b/wscript
> @@ -1387,7 +1387,12 @@ def configure_variant(conf, cp, bsp_map, path_list, top_group, variant):
>  
>      # For the enabled-by evaluation we have to use the base BSP defined by the
>      # build specification and not the BSP name provided by the user.
> -    conf.env["ENABLE"] = [get_compiler(conf, cp, variant), arch, arch_bsp]
> +    conf.env["ENABLE"] = [
> +        get_compiler(conf, cp, variant),
> +        arch,
> +        arch_family,
> +        arch_bsp,
> +    ]
>  
>      conf.env["TOP"] = conf.path.abspath()
>      conf.env["TOPGROUP"] = top_group
> 


More information about the devel mailing list