Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kbuild: buildtar: add arm64 support

Make 'make tar-pkg' work on arm64.

Cc: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

authored by

Olof Johansson and committed by
Masahiro Yamada
0df57d90 33c362bb

+8
+8
scripts/package/buildtar
··· 105 105 cp -v -- "${objtree}/vmlinux" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}" 106 106 fi 107 107 ;; 108 + arm64) 109 + for i in Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo ; do 110 + if [ -f "${objtree}/arch/arm64/boot/${i}" ] ; then 111 + cp -v -- "${objtree}/arch/arm64/boot/${i}" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}" 112 + break 113 + fi 114 + done 115 + ;; 108 116 *) 109 117 [ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-kbuild-${KERNELRELEASE}" 110 118 echo "" >&2