summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-08-20 11:15:28 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2022-09-28 19:00:29 +0200
commited7ceac157c27bdc64e79a3229f5ab6e8899597f (patch)
treea9566fb773eb2a9b5a7816e3daeaf209da1b7b83 /Makefile
parentkbuild: remove the target in signal traps when interrupted (diff)
downloadlinux-ed7ceac157c27bdc64e79a3229f5ab6e8899597f.tar.xz
linux-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