[OpenBIOS] [PATCH] switch-arch: Fix recognition of x86_64 target as 64-bit

Andreas Färber andreas.faerber at web.de
Sun Oct 3 12:54:34 CEST 2010


The comparison would've always been false due to missing $.

Signed-off-by: Andreas Färber <andreas.faerber at web.de>
---
 config/scripts/switch-arch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch
index 8b6563d..60782e9 100755
--- a/config/scripts/switch-arch
+++ b/config/scripts/switch-arch
@@ -48,7 +48,7 @@ crosscflags()
 
 # target long bits test
     if test "$target" = "sparc64" -o "$target" = "ia64" \
-        -o "$target" = "amd64"  -o "target" = "x86_64" \
+        -o "$target" = "amd64"  -o "$target" = "x86_64" \
         -o "$target" = "alpha"; then
         targetlongbits="64"
     else
-- 
1.7.3




More information about the OpenBIOS mailing list