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

Alan Coopersmith alan.coopersmith at oracle.com
Sun Jan 2 10:41:14 PST 2011


On 01/ 2/11 06:48 AM, Mark Kettenis wrote:
>> 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.

Though cg6 is the only one of those I've ever seen in a 64-bit SPARC.
Since cg3 & leo were Sbus cards, I think they could theoretically be put
in one, just weren't available at the same time frame - as far as I know
CG14 & TCX were only available built-in to the motherboards of 32-bit/sun4m
machines.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list