Skip to contentSkip to conversation

ia64: add arch/ia64/Kbuild

PATCH New Masahiro Yamada 1 participant 1 message Feb 27, 2021 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ia64: add arch/ia64/Kbuild

Use the standard obj-y form to specify the sub-directories under arch/ia64/. No functional change intended.

---

 arch/ia64/Kbuild   | 3 +++
 arch/ia64/Makefile | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 arch/ia64/Kbuild
arch/ia64/Kbuild new file +3 -0
new file mode 100644
index 000000000000..e77cc76d228c
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+obj-y				+= kernel/ mm/
+obj-$(CONFIG_IA64_SGI_UV)	+= uv/
arch/ia64/Makefile +1 -2
index 467b7e7f967c..096d5500e6a4 100644
@@ -47,8 +47,7 @@ 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/
+core-y				+= arch/ia64/
 
 drivers-y			+= arch/ia64/pci/ arch/ia64/hp/common/
 
Signature · 1 line
2.27.0