ia64: move core-y in arch/ia64/Makefile to arch/ia64/Kbuild
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 11 Aug 2021 16:43:12 +0000 (01:43 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 2 Sep 2021 23:17:20 +0000 (08:17 +0900)
Use obj-y to clean up Makefile.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
arch/ia64/Kbuild
arch/ia64/Makefile

index a4e40e5..e77cc76 100644 (file)
@@ -1 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
+obj-y                          += kernel/ mm/
+obj-$(CONFIG_IA64_SGI_UV)      += uv/
index 467b7e7..7e548c6 100644 (file)
@@ -47,8 +47,6 @@ KBUILD_CFLAGS += $(cflags-y)
 head-y := arch/ia64/kernel/head.o
 
 libs-y                         += arch/ia64/lib/
-core-y                         += arch/ia64/kernel/ arch/ia64/mm/
-core-$(CONFIG_IA64_SGI_UV)     += arch/ia64/uv/
 
 drivers-y                      += arch/ia64/pci/ arch/ia64/hp/common/