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

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to