All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] kbuild: buildtar: remove crufty vax pieces
@ 2018-07-13 16:24 Olof Johansson
  2018-07-13 16:24 ` [PATCH 2/2] kbuild: buildtar: add arm64 support Olof Johansson
  2018-07-18 23:14 ` [PATCH 1/2] kbuild: buildtar: remove crufty vax pieces Masahiro Yamada
  0 siblings, 2 replies; 4+ messages in thread
From: Olof Johansson @ 2018-07-13 16:24 UTC (permalink / raw)
  To: Masahiro Yamada, Michal Marek; +Cc: linux-kbuild, linux-kernel, Olof Johansson

ARCH=vax isn't in mainline; it can be added back if/when it shows up.

Signed-off-by: Olof Johansson <olof@lixom.net>
---
 scripts/package/buildtar | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/scripts/package/buildtar b/scripts/package/buildtar
index e8cc72a51b32..55887ac84ee4 100755
--- a/scripts/package/buildtar
+++ b/scripts/package/buildtar
@@ -84,10 +84,6 @@ case "${ARCH}" in
 		[ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
 		[ -f "${objtree}/lifimage" ] && cp -v -- "${objtree}/lifimage" "${tmpdir}/boot/lifimage-${KERNELRELEASE}"
 		;;
-	vax)
-		[ -f "${objtree}/vmlinux.SYS" ] && cp -v -- "${objtree}/vmlinux.SYS" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}.SYS"
-		[ -f "${objtree}/vmlinux.dsk" ] && cp -v -- "${objtree}/vmlinux.dsk" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}.dsk"
-		;;
 	mips)
 		if [ -f "${objtree}/arch/mips/boot/compressed/vmlinux.bin" ]; then
 			cp -v -- "${objtree}/arch/mips/boot/compressed/vmlinux.bin" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] kbuild: buildtar: add arm64 support
  2018-07-13 16:24 [PATCH 1/2] kbuild: buildtar: remove crufty vax pieces Olof Johansson
@ 2018-07-13 16:24 ` Olof Johansson
  2018-07-18 23:14   ` Masahiro Yamada
  2018-07-18 23:14 ` [PATCH 1/2] kbuild: buildtar: remove crufty vax pieces Masahiro Yamada
  1 sibling, 1 reply; 4+ messages in thread
From: Olof Johansson @ 2018-07-13 16:24 UTC (permalink / raw)
  To: Masahiro Yamada, Michal Marek
  Cc: linux-kbuild, linux-kernel, Olof Johansson, Will Deacon, Catalin Marinas

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>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] kbuild: buildtar: remove crufty vax pieces
  2018-07-13 16:24 [PATCH 1/2] kbuild: buildtar: remove crufty vax pieces Olof Johansson
  2018-07-13 16:24 ` [PATCH 2/2] kbuild: buildtar: add arm64 support Olof Johansson
@ 2018-07-18 23:14 ` Masahiro Yamada
  1 sibling, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2018-07-18 23:14 UTC (permalink / raw)
  To: Olof Johansson
  Cc: Michal Marek, Linux Kbuild mailing list, Linux Kernel Mailing List

2018-07-14 1:24 GMT+09:00 Olof Johansson <olof@lixom.net>:
> ARCH=vax isn't in mainline; it can be added back if/when it shows up.
>
> Signed-off-by: Olof Johansson <olof@lixom.net>
> ---

Applied to linux-kbuild. Thanks!


>  scripts/package/buildtar | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/scripts/package/buildtar b/scripts/package/buildtar
> index e8cc72a51b32..55887ac84ee4 100755
> --- a/scripts/package/buildtar
> +++ b/scripts/package/buildtar
> @@ -84,10 +84,6 @@ case "${ARCH}" in
>                 [ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}"
>                 [ -f "${objtree}/lifimage" ] && cp -v -- "${objtree}/lifimage" "${tmpdir}/boot/lifimage-${KERNELRELEASE}"
>                 ;;
> -       vax)
> -               [ -f "${objtree}/vmlinux.SYS" ] && cp -v -- "${objtree}/vmlinux.SYS" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}.SYS"
> -               [ -f "${objtree}/vmlinux.dsk" ] && cp -v -- "${objtree}/vmlinux.dsk" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}.dsk"
> -               ;;
>         mips)
>                 if [ -f "${objtree}/arch/mips/boot/compressed/vmlinux.bin" ]; then
>                         cp -v -- "${objtree}/arch/mips/boot/compressed/vmlinux.bin" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
> --
> 2.11.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] kbuild: buildtar: add arm64 support
  2018-07-13 16:24 ` [PATCH 2/2] kbuild: buildtar: add arm64 support Olof Johansson
@ 2018-07-18 23:14   ` Masahiro Yamada
  0 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2018-07-18 23:14 UTC (permalink / raw)
  To: Olof Johansson
  Cc: Michal Marek, Linux Kbuild mailing list,
	Linux Kernel Mailing List, Will Deacon, Catalin Marinas

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-18 23:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 16:24 [PATCH 1/2] kbuild: buildtar: remove crufty vax pieces Olof Johansson
2018-07-13 16:24 ` [PATCH 2/2] kbuild: buildtar: add arm64 support Olof Johansson
2018-07-18 23:14   ` Masahiro Yamada
2018-07-18 23:14 ` [PATCH 1/2] kbuild: buildtar: remove crufty vax pieces Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.