summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-08-20 18:15:28 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2022-09-29 02:00:29 +0900
commited7ceac157c27bdc64e79a3229f5ab6e8899597f (patch)
treea9566fb773eb2a9b5a7816e3daeaf209da1b7b83 /Makefile
parenta7f3257da8a86b96fb9bf1bba40ae0bbd7f1885a (diff)
downloadlwn-ed7ceac157c27bdc64e79a3229f5ab6e8899597f.tar.gz
lwn-ed7ceac157c27bdc64e79a3229f5ab6e8899597f.zip
kbuild: add phony targets to ./Kbuild
missing-syscalls and old-atomics are meant to be phony targets. Adding them to always-y is odd. (always-y should generate something). Add a new phony target 'prepare', which depends on all the other. 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 647a42a1f800..b87794a26d95 100644
--- a/Makefile
+++ b/Makefile
@@ -1202,7 +1202,7 @@ archprepare: outputmakefile archheaders archscripts scripts include/config/kerne
prepare0: archprepare
$(Q)$(MAKE) $(build)=scripts/mod
- $(Q)$(MAKE) $(build)=.
+ $(Q)$(MAKE) $(build)=. prepare
# All the preparing..
prepare: prepare0