summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-28 06:18:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-28 06:18:19 +0200
commitcbd4f542ec6550e3aaaaf80989f5b86213b070d1 (patch)
treecf9e73cc486af51704938f579b1a136baf9d4475 /wscript
parentbuild: Fix option default values (diff)
downloadrtems-cbd4f542ec6550e3aaaaf80989f5b86213b070d1.tar.bz2
build: Add comment
Update #3818.
Diffstat (limited to 'wscript')
-rwxr-xr-xwscript4
1 files changed, 4 insertions, 0 deletions
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