From e9557a62428270ec9cc1f5a3fa343b6b28c466aa Mon Sep 17 00:00:00 2001 From: cladmi Date: Thu, 23 Aug 2018 15:56:36 +0200 Subject: [PATCH] makefiles/buildtests.inc.mk: fix 'clean-intermediates' not cleaning `clean-intermediates` should be done per board. Without this it only tries to clean the default board. --- makefiles/buildtests.inc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/buildtests.inc.mk b/makefiles/buildtests.inc.mk index 3d560590af..f980630289 100644 --- a/makefiles/buildtests.inc.mk +++ b/makefiles/buildtests.inc.mk @@ -20,7 +20,7 @@ buildtest: $(COLOR_ECHO) "$(COLOR_RED)failed!$(COLOR_RESET)" ; \ RESULT=false ; \ fi ; \ - $(MAKE) clean-intermediates >/dev/null 2>&1 || true; \ + BOARD=$${board} $(MAKE) clean-intermediates >/dev/null 2>&1 || true; \ fi; \ done ; \ $${RESULT}