[rtems commit] build: Add the BSP family to the enable set

Sebastian Huber sebh at rtems.org
Thu Jul 15 06:25:04 UTC 2021


Module:    rtems
Branch:    master
Commit:    90f250e23ad71381819dac25d7c7c87383f88f7e
Changeset: http://git.rtems.org/rtems/commit/?id=90f250e23ad71381819dac25d7c7c87383f88f7e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jul 15 08:15:31 2021 +0200

build: Add the BSP family to the enable set

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 487951f..1331ae1 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 vc mailing list