From cbd4f542ec6550e3aaaaf80989f5b86213b070d1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 28 Sep 2020 06:18:19 +0200 Subject: build: Add comment Update #3818. --- wscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wscript') 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 -- cgit v1.2.3