lkml.org 
[lkml]   [2021]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] hexagon: add arch/hexagon/Kbuild
Date
Use the standard obj-y form to specify the sub-directories under
arch/hexagon/. No functional change intended.

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

arch/hexagon/Kbuild | 2 ++
arch/hexagon/Makefile | 5 +----
2 files changed, 3 insertions(+), 4 deletions(-)
create mode 100644 arch/hexagon/Kbuild

diff --git a/arch/hexagon/Kbuild b/arch/hexagon/Kbuild
new file mode 100644
index 000000000000..8421baba1351
--- /dev/null
+++ b/arch/hexagon/Kbuild
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+obj-y += kernel/ mm/ lib/
diff --git a/arch/hexagon/Makefile b/arch/hexagon/Makefile
index c168c6980d05..80583548b81e 100644
--- a/arch/hexagon/Makefile
+++ b/arch/hexagon/Makefile
@@ -34,7 +34,4 @@ LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name 2>/dev/null)
libs-y += $(LIBGCC)

head-y := arch/hexagon/kernel/head.o
-
-core-y += arch/hexagon/kernel/ \
- arch/hexagon/mm/ \
- arch/hexagon/lib/
+core-y += arch/hexagon/
--
2.27.0
\
 
 \ /
  Last update: 2021-02-27 06:57    [W:0.020 / U:23.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site