changeset 165:8c3c1b874995

. Fix some whitespace bogons. . Make the following ARCH changes for BSD: . If the machine architecture is x86_64, set ARCH to amd64. . If the machine architecture is sparc64, set ARCH to sparcv9 . If the machine architecture other starts with sparc, set ARCH to sparc Submitted by: Landon Fuller (x86_64 change, whitespace change)
author Greg Lewis <glewis@eyesbeyond.com>
date Sun, 29 Nov 2009 18:04:51 -0800
parents a5fa20d67f54
children 76c434515fcd
files make/common/shared/Platform.gmk
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/shared/Platform.gmk	Sat Nov 14 16:14:12 2009 -0800
+++ b/make/common/shared/Platform.gmk	Sun Nov 29 18:04:51 2009 -0800
@@ -259,14 +259,14 @@
   PLATFORM = bsd
   OS_NAME = freebsd
   OS_VENDOR = FreeBSD
- REQUIRED_OS_VERSION = 6.0
+  REQUIRED_OS_VERSION = 6.0
 endif
 
 ifeq ($(SYSTEM_UNAME), Darwin)
   PLATFORM = bsd
   OS_NAME = darwin
   OS_VENDOR = Apple
- REQUIRED_OS_VERSION = 8.0
+  REQUIRED_OS_VERSION = 8.0
 endif
 
 ifeq ($(SYSTEM_UNAME), NetBSD)
@@ -292,6 +292,15 @@
                 i[3-9]86) \
                     echo i586 \
                     ;; \
+                sparc64) \
+                    echo sparcv9 \
+                    ;; \
+                sparc*) \
+                    echo sparc \
+                    ;; \
+                x86_64) \
+                    echo amd64 \
+                    ;; \
                 *) \
                     echo $(mach) \
                     ;; \