[OpenBIOS] [PATCH] Fix build on ppc64le host

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Aug 25 01:55:08 CEST 2016


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



More information about the OpenBIOS mailing list