[OpenBIOS] [PATCH] Fix build on ppc64le host
Mark Cave-Ayland
mark.cave-ayland at ilande.co.uk
Fri Aug 26 08:58:18 CEST 2016
On 25/08/16 00:55, Benjamin Herrenschmidt wrote:
> Switch arch didn't get the right long size
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
>
> diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch
> index ab3b4ce..12a01f1 100755
> --- a/config/scripts/switch-arch
> +++ b/config/scripts/switch-arch
> @@ -38,7 +38,7 @@ longbits()
> if test "$cpu" = "sparc64" -o "$cpu" = "ia64" \
> -o "$cpu" = "amd64" -o "$cpu" = "x86_64" \
> -o "$cpu" = "powerpc64" -o "$cpu" = "ppc64" \
> - -o "$cpu" = "alpha"; then
> + -o "$cpu" = "alpha" -o "$cpu" = "ppc64le" ; then
> echo 64
> else
> echo 32
>
Looks good to me. I've applied this to my next branch along with a
slight edit to move the ppc64le next to the other ppc* checks for
consistency.
ATB,
Mark.
More information about the OpenBIOS
mailing list