Skip to contentSkip to conversation

ia64: move core-y in arch/ia64/Makefile to arch/ia64/Kbuild

PATCH In review Masahiro Yamada 1 participant 2 messages Aug 11, 2021 – Aug 24, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ia64: move core-y in arch/ia64/Makefile to arch/ia64/Kbuild

Use obj-y to clean up Makefile.

---

 arch/ia64/Kbuild   | 2 ++
 arch/ia64/Makefile | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/ia64/Kbuild +2 -0
index a4e40e534e6a..e77cc76d228c 100644
@@ -1 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
+obj-y				+= kernel/ mm/
+obj-$(CONFIG_IA64_SGI_UV)	+= uv/
arch/ia64/Makefile +0 -2
index 467b7e7f967c..7e548c654a29 100644
@@ -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/
 
Signature · 1 line
2.30.2
#1 lore raw
Quoted 5 lines · Masahiro Yamada

Use obj-y to clean up Makefile.

---

Applied to linux-kbuild.

Quoted 29 lines
 arch/ia64/Kbuild   | 2 ++
 arch/ia64/Makefile | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/ia64/Kbuild +2 -0
index a4e40e534e6a..e77cc76d228c 100644
@@ -1 +1,3 @@
 # SPDX-License-Identifier: GPL-2.0-only
+obj-y                          += kernel/ mm/
+obj-$(CONFIG_IA64_SGI_UV)      += uv/
arch/ia64/Makefile +0 -3
index 467b7e7f967c..7e548c654a29 100644
@@ -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/
 
--

2.30.2

Signature · 2 lines
Best Regards
Masahiro Yamada