summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-05-12 09:57:25 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2021-05-26 16:10:37 +0200
commitd92cc4d5164398cc6d191084b46e622976c0ba89 (patch)
treee87efead15202005ba0ec53f5f03a70149f80ea4 /Makefile
parentkbuild: remove libelf checks from top Makefile (diff)
downloadlinux-d92cc4d5164398cc6d191084b46e622976c0ba89.tar.xz
linux-d92cc4d5164398cc6d191084b46e622976c0ba89.zip
kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild
arch/$(SRCARCH)/Kbuild is useful for Makefile cleanups because you can use the obj-y syntax. Add an empty file if it is missing in arch/$(SRCARCH)/. 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 b0bd0ce0aab1..4dcfe9c48d60 100644
--- a/Makefile
+++ b/Makefile
@@ -658,7 +658,7 @@ endif
ifeq ($(KBUILD_EXTMOD),)
# Objects we will link into vmlinux / subdirs we need to visit
-core-y := init/ usr/
+core-y := init/ usr/ arch/$(SRCARCH)/
drivers-y := drivers/ sound/
drivers-$(CONFIG_SAMPLES) += samples/
drivers-$(CONFIG_NET) += net/