summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-08-20 18:15:29 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2022-09-29 04:40:14 +0900
commitb10fdeea8cf42c0d97b337e9e501c92da4389a03 (patch)
treeac5eac64779cc1e180e99e0e67eda63681dd3d3c /Makefile
parenta3c4d4abaaf0b3fb3335a432fa9b75d414d1f987 (diff)
downloadlinux-b10fdeea8cf42c0d97b337e9e501c92da4389a03.tar.bz2
kbuild: check sha1sum just once for each atomic header
It is unneeded to check the sha1sum every time. Create the timestamp files to manage it. Add '.' to clean-dirs because 'make clean' must visit ./Kbuild to clean up the timestamp files. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a42b121d1cd5..22a4afd51285 100644
--- a/Makefile
+++ b/Makefile
@@ -1110,7 +1110,7 @@ vmlinux-dirs := $(patsubst %/,%,$(filter %/, \
$(libs-y) $(libs-m)))
build-dirs := $(vmlinux-dirs)
-clean-dirs := $(sort $(vmlinux-dirs) Documentation \
+clean-dirs := $(sort $(vmlinux-dirs) Documentation . \
$(patsubst %/,%,$(filter %/, $(core-) \
$(drivers-) $(libs-))))