[rtems commit] build: Add comment

Sebastian Huber sebh at rtems.org
Mon Sep 28 04:21:52 UTC 2020


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Sep 28 06:18:19 2020 +0200

build: Add comment

Update #3818.

---

 wscript | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/wscript b/wscript
index 6280afa..1670acf 100755
--- a/wscript
+++ b/wscript
@@ -1362,7 +1362,11 @@ def configure_variant(conf, cp, bsp_map, path_list, top_group, variant):
     conf.env["BSP_BASE"] = bsp_base
     conf.env["BSP_NAME"] = bsp_name
     conf.env["DEST_OS"] = "rtems"
+
+    # 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["TOP"] = conf.path.abspath()
     conf.env["TOPGROUP"] = top_group
     conf.env["VARIANT"] = variant



More information about the vc mailing list