summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-08-11 18:37:31 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2021-08-11 20:37:13 +0200
commit7b7cec477fc3cd42ce565dfc3e53f144504fc95c (patch)
treec1348db279614e8b0b79c266b817f62aab9cadb9 /arch/xtensa/Makefile
parentxtensa: build platform directories unconditionally (diff)
downloadlinux-7b7cec477fc3cd42ce565dfc3e53f144504fc95c.tar.xz
linux-7b7cec477fc3cd42ce565dfc3e53f144504fc95c.zip
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>
Diffstat (limited to 'arch/xtensa/Makefile')
-rw-r--r--arch/xtensa/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile
index 093e87b889be..96714ef7c89e 100644
--- a/arch/xtensa/Makefile
+++ b/arch/xtensa/Makefile
@@ -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)