[PATCH] build: Add the BSP family to the enable set
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jul 15 06:19:16 UTC 2021
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
--
2.26.2
More information about the devel
mailing list