lkml.org 
[lkml]   [2018]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 2/2] kbuild: buildtar: add arm64 support
2018-07-14 1:24 GMT+09:00 Olof Johansson <olof@lixom.net>:
> 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>
> ---

Applied to linux-kbuild. Thanks!



> scripts/package/buildtar | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/scripts/package/buildtar b/scripts/package/buildtar
> index 55887ac84ee4..d624a07a4e77 100755
> --- a/scripts/package/buildtar
> +++ b/scripts/package/buildtar
> @@ -105,6 +105,14 @@ case "${ARCH}" in
> cp -v -- "${objtree}/vmlinux" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
> fi
> ;;
> + arm64)
> + for i in Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo ; do
> + if [ -f "${objtree}/arch/arm64/boot/${i}" ] ; then
> + cp -v -- "${objtree}/arch/arm64/boot/${i}" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
> + break
> + fi
> + done
> + ;;
> *)
> [ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-kbuild-${KERNELRELEASE}"
> echo "" >&2
> --
> 2.11.0
>



--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2018-07-19 01:16    [W:0.088 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site