Skip to content

Commit 8f85f93

Browse files
masahir0yrichardweinberger
authored andcommitted
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 <masahiroy@kernel.org> Tested-by: Jiri Slaby <jirislaby@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Tested-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent d32df10 commit 8f85f93

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

arch/um/Kbuild

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2+
3+
obj-y += kernel/ drivers/ os-Linux/

arch/um/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ ARCH_DIR := arch/um
2222
# features.
2323
SHELL := /bin/bash
2424

25-
core-y += $(ARCH_DIR)/kernel/ \
26-
$(ARCH_DIR)/drivers/ \
27-
$(ARCH_DIR)/os-Linux/
28-
2925
MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas
3026

3127
HEADER_ARCH := $(SUBARCH)

0 commit comments

Comments
 (0)