Commit 7b7cec47 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Max Filippov
Browse files

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



Use obj-y to clean up Makefile.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Message-Id: <20210811163731.186125-4-masahiroy@kernel.org>
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 59210499
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
obj-y += kernel/ mm/ platforms/ boot/dts/
+0 −3
Original line number Diff line number Diff line
@@ -58,9 +58,6 @@ KBUILD_DEFCONFIG := iss_defconfig
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)

head-y		:= arch/xtensa/kernel/head.o
core-y		+= arch/xtensa/kernel/ arch/xtensa/mm/
core-y		+= arch/xtensa/platforms/$(platform-y)/
core-y 		+= arch/xtensa/boot/dts/

libs-y		+= arch/xtensa/lib/ $(LIBGCC)

+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_XTENSA_PLATFORM_XT2000)	+= xt2000/
obj-$(CONFIG_XTENSA_PLATFORM_ISS)	+= iss/
obj-$(CONFIG_XTENSA_PLATFORM_XTFPGA)	+= xtfpga/