diff --git a/Makefile.buildtests b/Makefile.buildtests index e6d56b8b6..a205de53d 100644 --- a/Makefile.buildtests +++ b/Makefile.buildtests @@ -83,7 +83,7 @@ buildtest: BINDIRBASE=$${BINDIRBASE} \ RIOTNOLINK=$${RIOTNOLINK} \ RIOT_VERSION=$${RIOT_VERSION} \ - $(MAKE) clean 2>&1 >/dev/null || true; \ + $(MAKE) clean-intermediates 2>&1 >/dev/null || true; \ done; \ $${BUILDTESTOK} endif # BUILD_IN_DOCKER