[PATCH] build.sh: build video-geode on i*86* only #22979

Matthieu Herrb matthieu.herrb at laas.fr
Wed Aug 26 05:27:09 PDT 2009


Peter Hutterer wrote:
> From: Gaetan Nadon <memsize at videotron.ca>
> 
> Inline assembler is not written for LP64 systems, so it fails to compile
> on those platforms. Given that this driver is hardware specific, it
> can be compiled on similar CPUs only, rather than porting the C code.
> 
> Tested script code path with "linux32 bash" on AMD64
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  build.sh |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)
> 
> diff --git a/build.sh b/build.sh
> index cf8e359..7e1cffe 100755
> --- a/build.sh
> +++ b/build.sh
> @@ -572,7 +572,13 @@ build_driver_video() {
>      build driver xf86-video-cirrus
>      build driver xf86-video-dummy
>      build driver xf86-video-fbdev
> -    build driver xf86-video-geode
> +    case $HOST_CPU in
> +	i*86*)
> +	    build driver xf86-video-geode
> +	    ;;
> +	*)
> +	    ;;
> +    esac
>  #    build driver xf86-video-glide
>      build driver xf86-video-glint
>      build driver xf86-video-i128

Ack.
-- 
Matthieu Herrb


More information about the xorg-devel mailing list