Improve readability of /usr/src/share/mk/bsd.cpu.mk

From: Rostislav Krasny <rosti_bsd_at_yahoo.com>
Date: Thu, 19 Feb 2004 02:08:59 +0200
Hello. I just watched into revision 1.29 of the
/usr/src/share/mk/bsd.cpu.mk file at FreeBSD 5.2.1-RC2 and I confused,
a little, because of its formating. I propose following patch to the
upcoming 5.2.1-RELEASE and similar one to the -CURRENT.

--- bsd.cpu.mk.orig     Thu Feb 19 01:29:59 2004
+++ bsd.cpu.mk  Thu Feb 19 01:37:24 2004
_at__at_ -11,7 +11,7 _at__at_
  . elif ${MACHINE_ARCH} == "alpha"
  _CPUCFLAGS = -mcpu=ev4 -mtune=ev5
  MACHINE_CPU = ev4
-.elif ${MACHINE_ARCH} == "amd64"
+. elif ${MACHINE_ARCH} == "amd64"
  MACHINE_CPU = amd64 sse2 sse
  . elif ${MACHINE_ARCH} == "ia64"
  _CPUCFLAGS =
_at__at_ -86,12 +86,12 _at__at_
  # unordered list to make it easy for client makefiles to test for the
  # presence of a CPU feature.

-.if ${MACHINE_ARCH} == "i386"
-. if ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || 
${CPUTYPE} == "athlon-4"
+. if ${MACHINE_ARCH} == "i386"
+.  if ${CPUTYPE} == "athlon-mp" || ${CPUTYPE} == "athlon-xp" || 
${CPUTYPE} == "athlon-4"
  MACHINE_CPU = athlon-xp k7 3dnow sse mmx k6 k5 i586 i486 i386
-. elif ${CPUTYPE} == "athlon" || ${CPUTYPE} == "athlon-tbird"
+.  elif ${CPUTYPE} == "athlon" || ${CPUTYPE} == "athlon-tbird"
  MACHINE_CPU = athlon k7 3dnow mmx k6 k5 i586 i486 i386
-. elif ${CPUTYPE} == "k6-3" || ${CPUTYPE} == "k6-2"
+.  elif ${CPUTYPE} == "k6-3" || ${CPUTYPE} == "k6-2"
  MACHINE_CPU = 3dnow mmx k6 k5 i586 i486 i386
  .  elif ${CPUTYPE} == "k6"
  MACHINE_CPU = mmx k6 k5 i586 i486 i386
Received on Wed Feb 18 2004 - 15:07:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC