author: Kortan <kortanzh@gmail.com> 2021-09-08 11:28:48 +0800
committer: Masahiro Yamada <masahiroy@kernel.org> 2021-09-19 10:13:03 +0900
commit: ec783c7cb2495c5a3b8ca10db8056d43c528f940
parent: aa0f5ea12e477b2940a57fcda4908627e0beed0f
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/scripts/clang-tools/gen_compile_commands.py b/scripts/clang-tools/gen_compile_commands.py
index 0033eedce003..1d1bde1fd45e 100755
--- a/scripts/clang-tools/gen_compile_commands.py
+++ b/scripts/clang-tools/gen_compile_commands.py
@@ -13,6 +13,7 @@ import logging
import os
import re
import subprocess
+import sys
_DEFAULT_OUTPUT = 'compile_commands.json'
_DEFAULT_LOG_LEVEL = 'WARNING'