summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/config.8
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-07-13 04:08:08 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-07-13 04:08:08 +0000
commitb340f08eda23ed6e1cfb16525af6986de6c36055 (patch)
tree209e7f9f2191555e438e8dae59aad689b0ac3a39 /usr.sbin/config/config.8
parent36d55e82a5b7a2c8a8fb0854d402d69e4c23c942 (diff)
downloadFreeBSD-src-b340f08eda23ed6e1cfb16525af6986de6c36055.zip
FreeBSD-src-b340f08eda23ed6e1cfb16525af6986de6c36055.tar.gz
Enhance config to handle MACHINEs with multiple architectures:
- Passing -m to config will now print the MACHINE and MACHINE_ARCH given in the passed kernel configuration file and then exit. - If an option is defined in options.MACHINE with the same name as the architecture of the kernel being configured, that option will be considered set. This allows conditional compilation based on CPU architecture. Config version is now 600010. Reviewed by: imp
Diffstat (limited to 'usr.sbin/config/config.8')
-rw-r--r--usr.sbin/config/config.83
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/config/config.8 b/usr.sbin/config/config.8
index 904ef6b..03cffb4 100644
--- a/usr.sbin/config/config.8
+++ b/usr.sbin/config/config.8
@@ -78,6 +78,9 @@ Note that
does not append
.Ar SYSTEM_NAME
to the directory given.
+.It Fl m
+Print the MACHINE and MACHINE_ARCH values for this
+kernel and exit.
.It Fl g
Configure a system for debugging.
.It Fl x Ar kernel
OpenPOWER on IntegriCloud