diff --git a/arch/h8300/Kbuild b/arch/h8300/Kbuild index a4e40e534e6a84db241abfe5076962a90f8a71bd..b2583e7efbd1d91bc58be2d0fbf0faac088367fc 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 ba0f26cfad6199475f700c0acbd3b220edf3c7da..eb4cb8f6830c572e3cf609f227f986a8e2ea23b2 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