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

Blue Swirl blauwirbel at gmail.com
Sun Oct 3 16:28:48 CEST 2010


Thanks, applied.

On Sun, Oct 3, 2010 at 10:54 AM, Andreas Färber <andreas.faerber at web.de> wrote:
> 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
>
>
> --
> OpenBIOS                 http://openbios.org/
> Mailinglist:  http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you



More information about the OpenBIOS mailing list