[PATCH modular 2/4] build.sh: use accurate values for HOST_CPU from config.guess

Mark Kettenis mark.kettenis at xs4all.nl
Sun Jan 2 06:48:28 PST 2011


> From: Gaetan Nadon <memsize at videotron.ca>
> Date: Sun, 02 Jan 2011 08:58:03 -0500
> 
> Using x86*64* rather than x86_64 is misleading to the user as it
> implies there are a large number of possibilities.
> 
> Use the values from config.guess which are known to be accurate.
> 
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
> ---
>  build.sh |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> @@ -804,14 +804,14 @@ build_driver_video() {
>  
>      # Some drivers are only buildable on some architectures
>      case $HOST_CPU in
> -	*sparc*)
> +	sparc)
>  	    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
>  	    ;;

This bit is almost certainly not correct.  The canonical HOST_CPU
value for 64-bit SPARC (aka SPARC V9) is sparc64.


More information about the xorg-devel mailing list