[PATCH] build: Add comment

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Sep 28 04:18:42 UTC 2020


Update #3818.
---
 wscript | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/wscript b/wscript
index 6280afa6c9..1670acf936 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
-- 
2.26.2



More information about the devel mailing list