From: Masahiro Yamada Date: Fri, 21 Jul 2023 17:18:57 +0000 (+0900) Subject: um: use obj-y to descend into arch/um/*/ X-Git-Tag: v6.6.17~4004^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f85f93bfd2d490251143577bd43b01b40acb8d7;p=platform%2Fkernel%2Flinux-rpi.git um: use obj-y to descend into arch/um/*/ The single build rule does not work with the core-y syntax. [1] Use the standard obj-y syntax. [1]: https://lore.kernel.org/linux-kbuild/d57ba55f-20a3-b836-783d-b49c8a161b6e@kernel.org/T/#m7bc402e1e038f00ebcf2e92ed7fcb8a52fc1ea44 Signed-off-by: Masahiro Yamada Tested-by: Jiri Slaby Reviewed-by: Nick Desaulniers Tested-by: Nick Desaulniers Signed-off-by: Richard Weinberger --- diff --git a/arch/um/Kbuild b/arch/um/Kbuild index a4e40e5..6cf0c1e 100644 --- a/arch/um/Kbuild +++ b/arch/um/Kbuild @@ -1 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only + +obj-y += kernel/ drivers/ os-Linux/ diff --git a/arch/um/Makefile b/arch/um/Makefile index 1735a56..82f05f2 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile @@ -22,10 +22,6 @@ ARCH_DIR := arch/um # features. SHELL := /bin/bash -core-y += $(ARCH_DIR)/kernel/ \ - $(ARCH_DIR)/drivers/ \ - $(ARCH_DIR)/os-Linux/ - MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas HEADER_ARCH := $(SUBARCH)