From owner-freebsd-current@FreeBSD.ORG Fri Mar 12 07:54:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5090616A4CE; Fri, 12 Mar 2004 07:54:30 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB90D43D2D; Fri, 12 Mar 2004 07:54:29 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i2CFsQkj023490; Fri, 12 Mar 2004 08:54:27 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 12 Mar 2004 08:54:29 -0700 (MST) Message-Id: <20040312.085429.14977435.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <59081.1079092493@critter.freebsd.dk> References: <20040312115202.GA98578@numeri.campus.luth.se> <59081.1079092493@critter.freebsd.dk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd@guldan.demon.nl cc: current@freebsd.org cc: johan@freebsd.org cc: small@freebsd.org Subject: Re: "nanobsd" prototype X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 15:54:30 -0000 In message: <59081.1079092493@critter.freebsd.dk> "Poul-Henning Kamp" writes: : In message <20040312115202.GA98578@numeri.campus.luth.se>, Johan Karlsson write : s: : >On Thu, Mar 11, 2004 at 16:04 (-0700) +0000, M. Warner Losh wrote: : >> In message: <52729.1079033952@critter.freebsd.dk> : >> "Poul-Henning Kamp" writes: : >> : I want nanobsd to use the normal build/installworld targets, but feel : >> : free to prune your system in the Customize target. : >> : >> Maybe it is time to have a generic way to include/exclude directories : >> from installworld, but not buildworld. : > : >We kind of have this already : > : ># make buildworld : ># make installworld SUBDIR_OVERRIDE='dirs to include' : > : >I guess it would be trivial to add a new variable : >SUBDIR_OVERRIDE_INSTALL that only affects the installworld : >target if you need to put in make.conf. : : While this may technically be a possibility, it is a lousy userinterface : to the FreeBSD hacker who's trying to configure an embedded system. : : I think the NO_FOO principle of functional exclusion is far more : user friendly. It is far too klunky, and not nearly granular enough. Both interfaces (the SUBDIR_OVERRIDE_INSTALL and NO_FOO). Warner