diff mbox series

ia64: add arch/ia64/Kbuild

Message ID 20210227053512.4073366-1-masahiroy@kernel.org (mailing list archive)
State New
Headers show
Series ia64: add arch/ia64/Kbuild | expand

Commit Message

Masahiro Yamada Feb. 27, 2021, 5:35 a.m. UTC
Use the standard obj-y form to specify the sub-directories under
arch/ia64/. No functional change intended.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/ia64/Kbuild   | 3 +++
 arch/ia64/Makefile | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)
 create mode 100644 arch/ia64/Kbuild
diff mbox series

Patch

diff --git a/arch/ia64/Kbuild b/arch/ia64/Kbuild
new file mode 100644
index 000000000000..e77cc76d228c
--- /dev/null
+++ b/arch/ia64/Kbuild
@@ -0,0 +1,3 @@ 
+# SPDX-License-Identifier: GPL-2.0-only
+obj-y				+= kernel/ mm/
+obj-$(CONFIG_IA64_SGI_UV)	+= uv/
diff --git a/arch/ia64/Makefile b/arch/ia64/Makefile
index 467b7e7f967c..096d5500e6a4 100644
--- a/arch/ia64/Makefile
+++ b/arch/ia64/Makefile
@@ -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/