[PATCH] build: output COMPILER for each variant in bsp_defaults
Hesham Almatary
Hesham.Almatary at cl.cam.ac.uk
Sat Apr 11 15:52:46 UTC 2020
Build multiple BSPs would fail without this patch as COMPILER
is only being emitted once at the end of config.ini (last BSP).
---
wscript | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/wscript b/wscript
index c763e214f..d4ca98afb 100755
--- a/wscript
+++ b/wscript
@@ -1406,11 +1406,10 @@ def bsp_defaults(ctx):
for group in top_level_groups:
group.defaults(enable, variant)
bsps[arch][bsp].defaults(enable, variant)
+ print("COMPILER = " + compiler)
if first:
no_matches_error(ctx, white_list)
- print("COMPILER = " + compiler)
-
def bsp_list(ctx):
"""lists base BSP variants"""
check_forbidden_options(ctx, ["compiler", "config", "tools"])
--
2.25.0
More information about the devel
mailing list