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,4 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ mm/ +obj-$(CONFIG_FPU) += math-emu/ +obj-y += boot/dts/ # for cleaning subdir- += boot
arch/nds32/Makefile +0 -3
@@ -27,8 +27,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/ ifdef CONFIG_CPU_LITTLE_ENDIAN
@@ -44,7 +42,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.32.0
I will apply this to linux-kbuild to avoid
the pain of Stephen Rothwell:
https://lore.kernel.org/lkml/[email protected]/t/
The nds32 tree seems unmaintained.
Quoted 46 lines · Masahiro Yamada
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,4 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only +obj-y += kernel/ mm/ +obj-$(CONFIG_FPU) += math-emu/ +obj-y += boot/dts/ # for cleaning subdir- += bootarch/nds32/Makefile +0
-4@@ -27,8 +27,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/ ifdef CONFIG_CPU_LITTLE_ENDIAN@@ -44,7 +42,6 @@ CHECKFLAGS += -D__NDS32_EB__ endif boot := arch/nds32/boot -core-y += $(boot)/dts/ Image: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ --2.32.0
Signature · 2 lines
Best Regards Masahiro Yamada