diff options
author | Olof Johansson <olof@lixom.net> | 2018-07-13 18:24:58 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-19 01:40:28 +0200 |
commit | 0df57d90bfd6bb94831e70f4bcb4b7af784066cf (patch) | |
tree | b8fef82620de26ad3e5b01e6110004fb4cd2726d /scripts/package | |
parent | kbuild: buildtar: remove crufty vax pieces (diff) | |
download | linux-0df57d90bfd6bb94831e70f4bcb4b7af784066cf.tar.xz linux-0df57d90bfd6bb94831e70f4bcb4b7af784066cf.zip |
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>
Diffstat (limited to 'scripts/package')
-rwxr-xr-x | scripts/package/buildtar | 8 |
1 files changed, 8 insertions, 0 deletions
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 |