mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 22:24:11 +08:00
kbuild: buildtar: add riscv support
Make 'make tar-pkg' and 'tarbz2-pkg' work on riscv. Signed-off-by: Carlos de Paula <me@carlosedp.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
2da073c196
commit
7d0bc44bd0
@ -125,6 +125,14 @@ case "${ARCH}" in
|
||||
fi
|
||||
done
|
||||
;;
|
||||
riscv)
|
||||
for i in Image.bz2 Image.gz Image; do
|
||||
if [ -f "${objtree}/arch/riscv/boot/${i}" ] ; then
|
||||
cp -v -- "${objtree}/arch/riscv/boot/${i}" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
|
||||
break
|
||||
fi
|
||||
done
|
||||
;;
|
||||
*)
|
||||
[ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-kbuild-${KERNELRELEASE}"
|
||||
echo "" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user