diff options
author | Kean Johnston <jkj@keats.unix42.com> | 2006-12-02 15:23:13 -0800 |
---|---|---|
committer | Kean Johnston <jkj@keats.unix42.com> | 2006-12-02 15:23:13 -0800 |
commit | 3fd2a827e19ff31f6efd73bc94724cb1fbd135f7 (patch) | |
tree | 50716b89dad87770e0226eb2ceff6d3a66eec50b | |
parent | a09605b79ae50834b4dd7285c7ee90527b4c0708 (diff) |
Only compile sparc-specific video drivers on sparc architectures.
-rwxr-xr-x | build.sh | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -338,11 +338,11 @@ build_driver_input() { build_driver_video() { HOST_OS=`uname -s` + HOST_CPU=`uname -m` # Some drivers are only buildable on some OS'es case $HOST_OS in *FreeBSD*) - HOST_CPU=`uname -m` case $HOST_CPU in sparc64) build driver xf86-video-sunffb @@ -364,6 +364,20 @@ build_driver_video() { ;; esac + # Some drivers are only buildable on some architectures + case $HOST_CPU in + *sparc*) + build driver xf86-video-sunbw2 + build driver xf86-video-suncg14 + build driver xf86-video-suncg3 + build driver xf86-video-suncg6 + build driver xf86-video-sunleo + build driver xf86-video-suntcx + ;; + *) + ;; + esac + build driver xf86-video-apm build driver xf86-video-ark build driver xf86-video-ast @@ -390,12 +404,6 @@ build_driver_video() { build driver xf86-video-savage build driver xf86-video-siliconmotion build driver xf86-video-sis - build driver xf86-video-sunbw2 - build driver xf86-video-suncg14 - build driver xf86-video-suncg3 - build driver xf86-video-suncg6 - build driver xf86-video-sunleo - build driver xf86-video-suntcx build driver xf86-video-tdfx build driver xf86-video-tga build driver xf86-video-trident |