diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-03 11:47:16 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-11 21:45:53 +0900 |
commit | f774f5bb87d132b48bc4a99598c45f35121ac054 (patch) | |
tree | 0a2dc74e70400523f9815d72a68d5264cbf2253a /arch/sparc/Makefile | |
parent | f18379a30271c0289c2d0e1074e1ed633bfd708c (diff) | |
download | linux-f774f5bb87d132b48bc4a99598c45f35121ac054.tar.gz linux-f774f5bb87d132b48bc4a99598c45f35121ac054.tar.bz2 linux-f774f5bb87d132b48bc4a99598c45f35121ac054.zip |
kbuild: factor out the common installation code into scripts/install.sh
Many architectures have similar install.sh scripts.
The first half is really generic; it verifies that the kernel image
and System.map exist, then executes ~/bin/${INSTALLKERNEL} or
/sbin/${INSTALLKERNEL} if available.
The second half is kind of arch-specific; it copies the kernel image
and System.map to the destination, but the code is slightly different.
Factor out the generic part into scripts/install.sh.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
Diffstat (limited to 'arch/sparc/Makefile')
-rw-r--r-- | arch/sparc/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index c7008bbebc4c..fe58a410b4ce 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile @@ -72,8 +72,7 @@ image zImage uImage tftpboot.img vmlinux.aout: vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ install: - sh $(srctree)/$(boot)/install.sh $(KERNELRELEASE) $(KBUILD_IMAGE) \ - System.map "$(INSTALL_PATH)" + $(call cmd,install) archheaders: $(Q)$(MAKE) $(build)=arch/sparc/kernel/syscalls all |