FreeBSD src
Go to file
Warner Losh cf94fc20bb MFC r207260:
Move checking the version up from Makefile generation to just after
  we've parsed the config file.  Makefile generation is too late if
  we've introduce changes to the syntax of the metafiles to warn about
  version skew, since we have to try to parse them and we get an parse
  error that's rather baffling to the user rather than a 'your config is
  too old, upgrade' which we should get.

  We have to defer doing it until after we've read the user's config
  file because we define machinename there.  The version required to
  compile the kernel is encoded in Makefile.machinename.  There's no
  real reason for this to be the case, but changing it now would
  introduce some logistical issues that I'd rather avoid for the moment.
  I intend to revisit this if we're still using config in FreeBSD 10.

  This also means that we cannot introduce any config metafile changes
  that result in a syntax error or other error for the user until 9.0 is
  released.  Otherwise, we break the upgrade path, or at least reduce
  the usefulness of the error messages we generate.

  # This implies that the config file option mapping will need to be redone.
2010-05-02 06:14:36 +00:00
bin MFC r207021: ln: Allow a trailing slash when creating a link to a directory. 2010-05-01 14:33:26 +00:00
cddl MFC r197867: 2010-04-18 16:37:38 +00:00
contrib MFC r206842: 2010-04-22 14:11:59 +00:00
crypto MFH OpenSSH 5.4p1 2010-04-21 06:33:10 +00:00
etc MFC r207020, r207027, r207072. 2010-04-29 22:40:12 +00:00
games MFC r205995: 2010-04-13 20:44:16 +00:00
gnu MFC r205702: 2010-03-29 18:24:08 +00:00
include MFC r206155, r206267: Add capability to use a db version of 2010-04-18 04:07:32 +00:00
kerberos5 Merge r201919 to stable/8: 2010-02-13 17:41:22 +00:00
lib MFC r206711: fnmatch: Fix bad FNM_PERIOD disabling 2010-04-23 18:01:19 +00:00
libexec MFC r205656: 2010-04-01 00:38:38 +00:00
release Merge r204044: 2010-04-06 17:57:27 +00:00
rescue Add the "vnet" and "-vnet" options, to allow moving interfaces between 2009-06-24 18:21:37 +00:00
sbin MFC r207070,r207343,r207345,r207347,r207348,r207371,r207372,r207390: 2010-05-01 19:16:08 +00:00
secure MFH OpenSSH 5.4p1 2010-04-21 06:33:10 +00:00
share MFC r207168: builtin(1): Add missing escaping for !, . and : in the table. 2010-05-01 14:49:20 +00:00
sys MFC r207176: 2010-05-01 23:25:53 +00:00
tools MFC r206711: fnmatch: Fix bad FNM_PERIOD disabling 2010-04-23 18:01:19 +00:00
usr.bin MFC r207153: stat: Allow -f %Sf to display the file flags symbolically. 2010-05-01 14:36:04 +00:00
usr.sbin MFC r207260: 2010-05-02 06:14:36 +00:00
COPYRIGHT Happy New Year 2010! :-) 2009-12-31 10:00:49 +00:00
LOCKS Update LOCKS syntax. 2008-06-05 19:47:58 +00:00
MAINTAINERS - pkg_install is maintained by portmgr. 2009-07-06 11:46:18 +00:00
Makefile MFC r205290: 2010-03-29 01:24:20 +00:00
Makefile.inc1 Merge r200413 and r202755 from head to stable/8: 2010-02-21 11:22:01 +00:00
ObsoleteFiles.inc Merge r204418 from head (original commit by antoine) 2010-04-27 20:51:50 +00:00
README Simply running ``make world'' will bomb unless you dig up the 2006-06-07 03:33:48 +00:00
UPDATING MFC r200028, r201193, r201752, r201930, r202460, r200672, r206375: 2010-04-07 19:04:36 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The ``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html