nds32: move core-y in arch/nds32/Makefile to arch/nds32/Kbuild
PATCH 1/1 nds32: move core-y in arch/nds32/Makefile to arch/nds32/Kbuild
Use obj-y to clean up Makefile.
Signed-off-by Masahiro Yamada <[email protected]>
---
arch/nds32/Kbuild | 3 +++ arch/nds32/Makefile | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-)
arch/nds32/Kbuild +3 -0
@@ -1 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ mm/ +obj-$(CONFIG_FPU) += math-emu/ +obj-y += boot/dts/
arch/nds32/Makefile +0 -3
@@ -25,8 +25,6 @@ export TEXTADDR # If we have a machine-specific directory, then include it in the build. -core-y += arch/nds32/kernel/ arch/nds32/mm/ -core-$(CONFIG_FPU) += arch/nds32/math-emu/ libs-y += arch/nds32/lib/ ifneq '$(CONFIG_NDS32_BUILTIN_DTB)' '""'
@@ -48,7 +46,6 @@ CHECKFLAGS += -D__NDS32_EB__ endif boot := arch/nds32/boot -core-y += $(boot)/dts/ Image: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
Signature · 1 line
2.30.2