From fd7af42bfea02a02ee55d094f2b4b55e751925a8 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Mon, 27 Jul 2009 20:32:07 -0400 Subject: [PATCH] build.sh: build video-geode on i686 only #22979 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 --- build.sh | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/build.sh b/build.sh index da6fc49..ff654fc 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 + i686) + build driver xf86-video-geode + ;; + *) + ;; + esac # build driver xf86-video-glide build driver xf86-video-glint build driver xf86-video-i128 -- 1.6.0.4