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:
Родитель
2da073c196
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче