summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-05-12 16:57:25 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-05-26 23:10:37 +0900
commitd92cc4d5164398cc6d191084b46e622976c0ba89 (patch)
treee87efead15202005ba0ec53f5f03a70149f80ea4 /Makefile
parent0d989ac2c90b5f51fe12102d3cddf54b959f2014 (diff)
downloadlinux-d92cc4d5164398cc6d191084b46e622976c0ba89.tar.gz
linux-d92cc4d5164398cc6d191084b46e622976c0ba89.tar.bz2
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/