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 <[email protected]> --- 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 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
