aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2021-11-07 17:38:36 +0100
committerMiquel Raynal <[email protected]>2021-11-07 17:38:36 +0100
commite269d7caf9e0dbd95fac9991991298f74930c2c0 (patch)
tree5fc1a69a0a54cdfc7f3a0be247f6658d3d7ed3c1 /scripts/clang-tools/gen_compile_commands.py
parentbca20e6a73863f37eb5e04c505be219a65f26a38 (diff)
parentdf872ab1ffe4bd865dfb5956cae4901429004ab6 (diff)
Merge tag 'spi-nor/for-5.16' into mtd/next
SPI NOR core changes: - Add spi-nor device tree binding under SPI NOR maintainers SPI NOR manufacturer drivers changes: - Enable locking for n25q128a13 SPI NOR controller drivers changes: - Use devm_platform_ioremap_resource_byname()
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
-rwxr-xr-xscripts/clang-tools/gen_compile_commands.py1
1 files changed, 1 insertions, 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'