[PATCH v2 modular 2/8] build.sh: use accurate values for HOST_CPU from config.guess
Gaetan Nadon
memsize at videotron.ca
Tue Jan 4 12:44:37 PST 2011
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(-)
diff --git a/build.sh b/build.sh
index a6f246f..f996a0f 100755
--- a/build.sh
+++ b/build.sh
@@ -761,7 +761,7 @@ build_driver_input() {
# And some drivers are only buildable on some CPUs.
case $HOST_CPU in
- i*86* | amd64* | x86*64*)
+ i*86 | amd64 | x86_64)
build driver xf86-input-vmmouse
;;
*)
@@ -804,14 +804,14 @@ build_driver_video() {
# Some drivers are only buildable on some architectures
case $HOST_CPU in
- *sparc*)
+ sparc | sparc64)
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
;;
- i*86* | amd64* | x86*64*)
+ i*86 | amd64 | x86_64)
build driver xf86-video-i740
build driver xf86-video-intel
;;
@@ -821,7 +821,7 @@ build_driver_video() {
# Some drivers are only buildable on some architectures of some OS's
case "$HOST_CPU"-"$HOST_OS" in
- i*86*-Linux)
+ i*86-Linux)
build driver xf86-video-geode
;;
*)
--
1.6.0.4
More information about the xorg-devel
mailing list