From b0d108d36896798453290cb31fe03313f84fea5c Mon Sep 17 00:00:00 2001 From: uebayasi Date: Fri, 10 Oct 2014 11:49:15 +0000 Subject: [PATCH] Document -M. --- usr.bin/config/config.1 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/usr.bin/config/config.1 b/usr.bin/config/config.1 index 288fe51417c8..8fb363974783 100644 --- a/usr.bin/config/config.1 +++ b/usr.bin/config/config.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: config.1,v 1.15 2014/05/05 20:52:45 wiz Exp $ +.\" $NetBSD: config.1,v 1.16 2014/10/10 11:49:15 uebayasi Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)config.8 8.2 (Berkeley) 4/19/94 .\" -.Dd May 5, 2014 +.Dd Oct 10, 2014 .Dt CONFIG 1 .Os .Sh NAME @@ -37,7 +37,7 @@ .Nd build kernel compilation directories .Sh SYNOPSIS .Nm -.Op Fl Ppv +.Op Fl MPpv .Op Fl b Ar builddir .Op Fl D Ar var=value .Op Fl s Ar srcdir @@ -121,6 +121,12 @@ Generate a lint configuration. See section .Sx LINT CONFIGURATION for details. +.It Fl M +Do modular build (experimental). +Instead of linking all object files (*.o) at once, collect related object +files into an intermedia relocatable object (*.ko), then link those *.ko +files into the final kernel. +This changes the order of objects in the kernel binary. .It Fl P Pack locators to save space in the resulting kernel binary. The amount of space saved that way is so small that this option should