summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/config.8
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-02-22 15:37:32 +0000
committerjkh <jkh@FreeBSD.org>1995-02-22 15:37:32 +0000
commit09d09cb93414bbd24504b169d0b193430574c4ab (patch)
treefcbd8ff64842af34da954f77c3f1e17a744e0448 /usr.sbin/config/config.8
parentfc2b47aebc779f9b2ace3a08a54f8aee1e2942b8 (diff)
downloadFreeBSD-src-09d09cb93414bbd24504b169d0b193430574c4ab.zip
FreeBSD-src-09d09cb93414bbd24504b169d0b193430574c4ab.tar.gz
Make good on my promise to finally clean up the config clobbering.
If you invoke config with the `-n' flag or have NO_CONFIG_CLOBBER in your environment, config will behave the same way it used to. This is now _documented_ as well. Rip out all the CONFIG_DONT_CLOBBER cruft; some of it wasn't even correct anyway.
Diffstat (limited to 'usr.sbin/config/config.8')
-rw-r--r--usr.sbin/config/config.820
1 files changed, 16 insertions, 4 deletions
diff --git a/usr.sbin/config/config.8 b/usr.sbin/config/config.8
index 32acb0f..5f93a86 100644
--- a/usr.sbin/config/config.8
+++ b/usr.sbin/config/config.8
@@ -39,7 +39,7 @@
.Nd build system configuration files
.Sh SYNOPSIS
.Nm config
-.Op Fl gp
+.Op Fl gpn
.Ar SYSTEM_NAME
.Sh DESCRIPTION
.Pp
@@ -70,7 +70,7 @@ that give alternate files for a specific machine.
.Sx FILES
section below)
.Pp
-Available option and operand:
+Available options and operands:
.Pp
.Bl -tag -width SYSTEM_NAME
.It Fl g
@@ -88,6 +88,12 @@ will configure a system for profiling; for example,
.Xr kgmon 8
and
.Xr gprof 1 .
+.It Fl n
+If the
+.Fl n
+flag is specified,
+.Nm config
+will not remove the old compile directory (see below).
.It Ar SYSTEM_NAME
specifies the name of the system configuration file
containing device specifications, configuration options
@@ -100,9 +106,15 @@ should be run from the
subdirectory of the system source (usually
.Pa /sys/ARCH/conf ) .
.Nm Config
-assumes the directory
+will create the directory
.Pa ../../compile/SYSTEM_NAME
-exists and places all output files there.
+as necessary and place all output files there.
+If the directory already exists, it will be removed
+first unless the
+.Pa -n
+flag was specified or the environment variable
+.Nm NO_CONFIG_CLOBBER
+is set.
The output of
.Nm config
consists of a number of files; for the
OpenPOWER on IntegriCloud