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.
This commit is contained in:
Sebastian Huber
2021-07-15 08:17:16 +02:00
parent 8bfc2080ca
commit 90f250e23a
+6 -1
View File
@@ -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