]> git.baikalelectronics.ru Git - kernel.git/commit
gen_compile_commands: fix missing 'sys' package
authorKortan <kortanzh@gmail.com>
Wed, 8 Sep 2021 03:28:48 +0000 (11:28 +0800)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 19 Sep 2021 01:13:03 +0000 (10:13 +0900)
commit2f55112ab302b713bbd9e5f4fd44891cf84d46fb
tree27fd3a1267310517702638f2502e671ee0da44f6
parentf804facae323cdb335e268ab58be01566127cd71
gen_compile_commands: fix missing 'sys' package

We need to import the 'sys' package since the script has called
sys.exit() method.

Fixes: 954f6a3235a0 ("Makefile: Add clang-tidy and static analyzer support to makefile")
Signed-off-by: Kortan <kortanzh@gmail.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/clang-tools/gen_compile_commands.py