From b340f08eda23ed6e1cfb16525af6986de6c36055 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Tue, 13 Jul 2010 04:08:08 +0000 Subject: 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 --- usr.sbin/config/config.8 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr.sbin/config/config.8') 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 -- cgit v1.1