Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2004 02:08:59 +0200
From:      Rostislav Krasny <rosti_bsd@yahoo.com>
To:        freebsd-current@freebsd.org
Subject:   Improve readability of /usr/src/share/mk/bsd.cpu.mk
Message-ID:  <4033FE9B.5070902@yahoo.com>

next in thread | raw e-mail | index | archive | help
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
@@ -11,7 +11,7 @@
  . 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 =
@@ -86,12 +86,12 @@
  # 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4033FE9B.5070902>