diff options
author | andrew <andrew@FreeBSD.org> | 2015-06-25 16:47:11 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2015-06-25 16:47:11 +0000 |
commit | ba34261712beba1b38b13a3baf674a72e37e3b51 (patch) | |
tree | 8eb4fddc1868d66ac08bf9b0c1b276275537c579 /share/mk/bsd.cpu.mk | |
parent | 164a12972281d510279184b25abc0f8321be517d (diff) | |
download | FreeBSD-src-ba34261712beba1b38b13a3baf674a72e37e3b51.zip FreeBSD-src-ba34261712beba1b38b13a3baf674a72e37e3b51.tar.gz |
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
Diffstat (limited to 'share/mk/bsd.cpu.mk')
-rw-r--r-- | share/mk/bsd.cpu.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index 4b61908..012756f 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -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 |