aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2019-07-30 15:58:59 +0000
committerMasahiro Yamada <[email protected]>2019-07-31 15:09:49 +0000
commit944cfe9be1fbbec73bab2f7e77fe2e8f9c72970f (patch)
treeb2dd7065dc2e0487eeda55a0bd0a795b07dc6e4d /scripts/gen_compile_commands.py
parentkbuild: initialize CLANG_FLAGS correctly in the top Makefile (diff)
downloadkernel-944cfe9be1fbbec73bab2f7e77fe2e8f9c72970f.tar.gz
kernel-944cfe9be1fbbec73bab2f7e77fe2e8f9c72970f.zip
kbuild: modpost: include .*.cmd files only when targets exist
If a build rule fails, the .DELETE_ON_ERROR special target removes the target, but does nothing for the .*.cmd file, which might be corrupted. So, .*.cmd files should be included only when the corresponding targets exist. Commit 392885ee82d3 ("kbuild: let fixdep directly write to .*.cmd files") missed to fix up this file. Fixes: 392885ee82d3 ("kbuild: let fixdep directly write to .*.cmd") Cc: <[email protected]> # v5.0+ Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions