mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
xtensa: move core-y in arch/xtensa/Makefile to arch/xtensa/Kbuild
Use obj-y to clean up Makefile. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Message-Id: <20210811163731.186125-4-masahiroy@kernel.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
59210499a0
commit
7b7cec477f
@ -1 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
obj-y += kernel/ mm/ platforms/ boot/dts/
|
||||
|
@ -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
arch/xtensa/platforms/Makefile
Normal file
4
arch/xtensa/platforms/Makefile
Normal file
@ -0,0 +1,4 @@
|
||||
# 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/
|
Loading…
Reference in New Issue
Block a user