Commit e30d4487 authored by Masahiro Yamada's avatar Masahiro Yamada

nios2: move core-y in arch/nios2/Makefile to arch/nios2/Kbuild

Use obj-y to clean up Makefile.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent d724b578
# SPDX-License-Identifier: GPL-2.0-only
obj-y += kernel/ mm/ platform/ boot/dts/
# for cleaning
subdir- += boot
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment