summaryrefslogtreecommitdiff
path: root/arch/nios2/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-08-20 12:15:31 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2022-09-28 22:40:14 +0300
commite30d448754284d6c7580b8f330e257e9801bec76 (patch)
treea5257d9adee6ce191ce4695b9cfe6bc532b1c48e /arch/nios2/Makefile
parentd724b578a1f746db6fc1fd5e4cbba554a855dc8d (diff)
downloadlinux-e30d448754284d6c7580b8f330e257e9801bec76.tar.xz
nios2: move core-y in arch/nios2/Makefile to arch/nios2/Kbuild
Use obj-y to clean up Makefile. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/nios2/Makefile')
-rw-r--r--arch/nios2/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile
index d6a7499b814c..3f34e6831863 100644
--- a/arch/nios2/Makefile
+++ b/arch/nios2/Makefile
@@ -39,8 +39,6 @@ KBUILD_CFLAGS += -G 0
head-y := arch/nios2/kernel/head.o
libs-y += arch/nios2/lib/ $(LIBGCC)
-core-y += arch/nios2/kernel/ arch/nios2/mm/
-core-y += arch/nios2/platform/
INSTALL_PATH ?= /tftpboot
nios2-boot := arch/$(ARCH)/boot
@@ -48,8 +46,6 @@ BOOT_TARGETS = vmImage zImage
PHONY += $(BOOT_TARGETS) install
KBUILD_IMAGE := $(nios2-boot)/vmImage
-core-y += $(nios2-boot)/dts/
-
all: vmImage
$(BOOT_TARGETS): vmlinux