[PATCH modular 4/4] build.sh: relocate the test for the AMD Geode 32 bit CPU
Gaetan Nadon
memsize at videotron.ca
Sun Jan 2 05:58:05 PST 2011
Taking advantage of an exiting test for Linux.
The driver does not compile on 64 bit CPU as it contains
assembler code with 32 bit assumptions.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
build.sh | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/build.sh b/build.sh
index cfbddba..4061384 100755
--- a/build.sh
+++ b/build.sh
@@ -822,6 +822,14 @@ build_driver_video() {
build driver xf86-video-sunffb
build driver xf86-video-v4l
build driver xf86-video-xgixp
+ case $HOST_CPU in
+ i*86)
+ # AMD Geode CPU. Driver contains 32 bit assembler code
+ build driver xf86-video-geode
+ ;;
+ *)
+ ;;
+ esac
;;
*)
;;
@@ -844,15 +852,6 @@ build_driver_video() {
;;
esac
- # Some drivers are only buildable on some architectures of some OS's
- case "$HOST_CPU"-"$HOST_OS" in
- i*86-Linux)
- build driver xf86-video-geode
- ;;
- *)
- ;;
- esac
-
build driver xf86-video-apm
build driver xf86-video-ark
build driver xf86-video-ast
--
1.6.0.4
More information about the xorg-devel
mailing list