]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Move .thinlto-cache removal to 'make clean'
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 25 Feb 2021 19:39:12 +0000 (04:39 +0900)
committerKees Cook <keescook@chromium.org>
Thu, 25 Feb 2021 20:21:06 +0000 (12:21 -0800)
commit133f8fd988a1f581f547bf2dfd9ad6205b7337d7
treeaefedb057d8dd1fff1be8593b15c82f899351f1a
parent274e5f93f39c2ddf98bacd48d250d18c3faccfd1
kbuild: Move .thinlto-cache removal to 'make clean'

Instead of 'make distclean', 'make clean' should remove build artifacts
unneeded by external module builds. Obviously, you do not need to keep
this directory.

Fixes: d31af7d2f434 ("kbuild: add support for Clang LTO")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210225193912.3303604-1-masahiroy@kernel.org
Makefile