[PATCH 13/20] kbuild: nds32: convert to use the common install scripts

From: Greg Kroah-Hartman
Date: Wed Apr 07 2021 - 01:35:52 EST


It seems that no one ever checked in the nds32 install script so trying
to build a nds32 kernel would never quite work properly as 'make
install' would fail to run.

Fix that up by having nds32 call the common install.sh script.

Cc: Nick Hu <nickhu@xxxxxxxxxxxxx>
Cc: Greentime Hu <green.hu@xxxxxxxxx>
Cc: Vincent Chen <deanbo422@xxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
arch/nds32/boot/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/nds32/boot/Makefile b/arch/nds32/boot/Makefile
index c4cc0c2689f7..8371e02f6091 100644
--- a/arch/nds32/boot/Makefile
+++ b/arch/nds32/boot/Makefile
@@ -8,9 +8,9 @@ $(obj)/Image.gz: $(obj)/Image FORCE
$(call if_changed,gzip)

install: $(obj)/Image
- $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
+ $(CONFIG_SHELL) $(srctree)/scripts/install.sh $(KERNELRELEASE) \
$(obj)/Image System.map "$(INSTALL_PATH)"

zinstall: $(obj)/Image.gz
- $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \
+ $(CONFIG_SHELL) $(srctree)/scripts/install.sh $(KERNELRELEASE) \
$(obj)/Image.gz System.map "$(INSTALL_PATH)"
--
2.31.1