lkml.org 
[lkml]   [2021]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/5] h8300: move core-y in arch/h8300/Makefile to arch/h8300/Kbuild
Date
Use obj-y to clean up Makefile.

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

arch/h8300/Kbuild | 1 +
arch/h8300/Makefile | 3 ---
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/h8300/Kbuild b/arch/h8300/Kbuild
index a4e40e534e6a..b2583e7efbd1 100644
--- a/arch/h8300/Kbuild
+++ b/arch/h8300/Kbuild
@@ -1 +1,2 @@
# SPDX-License-Identifier: GPL-2.0-only
+obj-y += kernel/ mm/ boot/dts/
diff --git a/arch/h8300/Makefile b/arch/h8300/Makefile
index ba0f26cfad61..eb4cb8f6830c 100644
--- a/arch/h8300/Makefile
+++ b/arch/h8300/Makefile
@@ -30,9 +30,6 @@ ifeq ($(CROSS_COMPILE),)
CROSS_COMPILE := $(call cc-cross-prefix, h8300-unknown-linux- h8300-linux-)
endif

-core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/
-core-y += arch/$(ARCH)/boot/dts/
-
libs-y += arch/$(ARCH)/lib/

boot := arch/h8300/boot
--
2.27.0
\
 
 \ /
  Last update: 2021-05-12 09:59    [W:0.081 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site