aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 0 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index cf1e47076315..17691797de54 100644
--- a/Makefile
+++ b/Makefile
@@ -1892,17 +1892,11 @@ targets += $(extmod_prefix)compile_commands.json
PHONY += clang-tidy clang-analyzer
-ifdef CONFIG_CC_IS_CLANG
quiet_cmd_clang_tools = CHECK $<
cmd_clang_tools = $(PYTHON3) $(srctree)/scripts/clang-tools/run-clang-tools.py $@ $<
clang-tidy clang-analyzer: $(extmod_prefix)compile_commands.json
$(call cmd,clang_tools)
-else
-clang-tidy clang-analyzer:
- @echo "$@ requires CC=clang" >&2
- @false
-endif
# Scripts to check various things for consistency
# ---------------------------------------------------------------------------