freebsd-skq/share
Kris Kennaway 62d90fb793 Overhaul the MACHINE_CPU behaviour:
* Rip out MACHINE_CPU stuff from sys.mk and include a new <bsd.cpu.mk>
  after we pull in /etc/make.conf.  We need to do it afterwards so we can
  react to the user setting of the:

* CPUTYPE variable, which contains the CPU type which the user wants to
  optimize for.  For example, if you want your binaries to only run on an
  i686-class machine (or higher), set this to i686.  If you want to support
  running binaries on a variety of CPU generations, set this to the lowest
  common denominator.  Supported values are listed in make.conf.

* bsd.cpu.mk does the expansion of CPUTYPE into MACHINE_CPU using the
  (hopefully) correct unordered list of CPU types which should be used on
  that CPU.  For example, an AMD k6 CPU wants any of the following:
    k6 k5 i586 i486 i386
  This is still an unordered list so the client makefile logic is simple -
  client makefiles need to test for the various elements of the set in
  decreasing order of priority using ${MACHINE_CPU:M<foo>}, as before.
  The various MACHINE_CPU lists are believed to be correct, but should be
  checked.

* If NO_CPU_CFLAGS is not defined, add relevant gcc compiler optimization
  settings by default (e.g. -karch=k6 for CPUTYPE=k6, etc).  Release
  builders and developers of third-party software need to make sure not to
  enable CPU-specific optimization when generating code intended to be
  portable.  We probably need to move to an /etc/world.conf to allow the
  optimization stuff to be applied separately to world/kernel and external
  compilations, but it's not any worse a problem than it was before.

* Add coverage for the ia64/itanium MACHINE_ARCH/CPUTYPE.

* Add CPUTYPE support for all of the CPU types supported by FreeBSD and gcc
  (only i386, alpha and ia64 first, since those are the minimally-working
  ports.  Other architecture porters, please feel free to add the relevant
  gunk for your platform).

Reviewed by:    jhb, obrien
2001-02-22 11:14:25 +00:00
..
colldef Add Greek collate 2001-01-17 16:47:28 +00:00
dict
doc Groff 1.16.1 implements .psbb request internally in troff(1) 2000-12-06 11:56:34 +00:00
examples Overhaul the MACHINE_CPU behaviour: 2001-02-22 11:14:25 +00:00
info
isdn Don't extract these files as mode 666 during build, use mode 644 instead. 2000-08-15 09:14:04 +00:00
man Add quota.user(5) and quota.group(5) man pages. 2001-02-22 11:06:54 +00:00
me Preceed/preceeding are not english words. Use precede or preceding. 2001-02-18 10:25:31 +00:00
misc Added upcoming FreeBSD 4.3 2001-02-22 11:09:50 +00:00
mk Overhaul the MACHINE_CPU behaviour: 2001-02-22 11:14:25 +00:00
mklocale Add Greek support 2001-01-17 13:30:16 +00:00
monetdef add LC_MONETARY, LC_MESSAGES and LC_NUMERIC definitions for ru_RU.CP866 and 2001-02-19 20:05:22 +00:00
msgdef add LC_MONETARY, LC_MESSAGES and LC_NUMERIC definitions for ru_RU.CP866 and 2001-02-19 20:05:22 +00:00
numericdef add LC_MONETARY, LC_MESSAGES and LC_NUMERIC definitions for ru_RU.CP866 and 2001-02-19 20:05:22 +00:00
sendmail Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
skel Add these key bindings for tcsh users in interactive mode: 2001-01-10 17:35:28 +00:00
syscons Add Greek keyboard 2001-01-17 16:27:47 +00:00
tabset
termcap Preceed/preceeding are not english words. Use precede or preceding. 2001-02-18 10:25:42 +00:00
timedef Use 4-digit year in x_fmt 2001-02-09 17:18:45 +00:00
zoneinfo Merge from vendor branch. 2000-10-25 19:36:49 +00:00
Makefile activate monetdef, msgdef and numericdef 2001-02-08 17:33:55 +00:00
Makefile.inc