From e314104334d8f8ec3237eb402ec04b0dad473627 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Thu, 30 Jul 2009 21:31:18 -0400 Subject: [PATCH] build.sh: build video-geode on i*86* 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 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 -- 1.6.0.4