From owner-svn-src-all@freebsd.org Thu Jun 25 16:47:12 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CED298CCAD; Thu, 25 Jun 2015 16:47:12 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 25E6616E8; Thu, 25 Jun 2015 16:47:12 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5PGlCTA077685; Thu, 25 Jun 2015 16:47:12 GMT (envelope-from andrew@FreeBSD.org) Received: (from andrew@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5PGlCIO077684; Thu, 25 Jun 2015 16:47:12 GMT (envelope-from andrew@FreeBSD.org) Message-Id: <201506251647.t5PGlCIO077684@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: andrew set sender to andrew@FreeBSD.org using -f From: Andrew Turner Date: Thu, 25 Jun 2015 16:47:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284815 - head/share/mk X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 16:47:12 -0000 Author: andrew Date: Thu Jun 25 16:47:11 2015 New Revision: 284815 URL: https://svnweb.freebsd.org/changeset/base/284815 Log: Sort the cpu architectures by name rather than a combination of alphabetical order and appending new architectures to the end of the list. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified: head/share/mk/bsd.cpu.mk Modified: head/share/mk/bsd.cpu.mk ============================================================================== --- head/share/mk/bsd.cpu.mk Thu Jun 25 15:05:58 2015 (r284814) +++ head/share/mk/bsd.cpu.mk Thu Jun 25 16:47:11 2015 (r284815) @@ -6,18 +6,18 @@ .if !defined(CPUTYPE) || empty(CPUTYPE) _CPUCFLAGS = -. if ${MACHINE_CPUARCH} == "i386" -MACHINE_CPU = i486 -. elif ${MACHINE_CPUARCH} == "amd64" +. if ${MACHINE_CPUARCH} == "amd64" MACHINE_CPU = amd64 sse2 sse mmx -. elif ${MACHINE_CPUARCH} == "powerpc" -MACHINE_CPU = aim -. elif ${MACHINE_CPUARCH} == "sparc64" -MACHINE_CPU = ultrasparc . elif ${MACHINE_CPUARCH} == "arm" MACHINE_CPU = arm +. elif ${MACHINE_CPUARCH} == "i386" +MACHINE_CPU = i486 . elif ${MACHINE_CPUARCH} == "mips" MACHINE_CPU = mips +. elif ${MACHINE_CPUARCH} == "powerpc" +MACHINE_CPU = aim +. elif ${MACHINE_CPUARCH} == "sparc64" +MACHINE_CPU = ultrasparc . endif .else