diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-05-12 16:57:27 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-05-26 23:11:47 +0900 |
commit | 0957878f710e87d6ef2aba01a49d8be659c3ce3d (patch) | |
tree | 85a374bb8f2d862b9cd2f7e67c4976ed11067287 /arch/h8300 | |
parent | 5519f498d59528dd43f4a3f65d638c1c080aa80b (diff) | |
download | linux-0957878f710e87d6ef2aba01a49d8be659c3ce3d.tar.gz linux-0957878f710e87d6ef2aba01a49d8be659c3ce3d.tar.bz2 linux-0957878f710e87d6ef2aba01a49d8be659c3ce3d.zip |
h8300: move core-y in arch/h8300/Makefile to arch/h8300/Kbuild
Use obj-y to clean up Makefile.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/h8300')
-rw-r--r-- | arch/h8300/Kbuild | 1 | ||||
-rw-r--r-- | arch/h8300/Makefile | 3 |
2 files changed, 1 insertions, 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 |