From owner-cvs-src@FreeBSD.ORG Fri Jun 10 17:19:03 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1B9616A41C; Fri, 10 Jun 2005 17:19:03 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 566F543D49; Fri, 10 Jun 2005 17:19:03 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x535869c7.naenxx7.adsl-dhcp.tele.dk [83.88.105.199]) by pfepc.post.tele.dk (Postfix) with ESMTP id 7A201262820; Fri, 10 Jun 2005 19:19:00 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.4/8.13.3) with ESMTP id j5AHJ0r7001544; Fri, 10 Jun 2005 19:19:00 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Garance A Drosihn From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 10 Jun 2005 13:15:29 EDT." Date: Fri, 10 Jun 2005 19:18:59 +0200 Message-ID: <1543.1118423939@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/tools/tools/nanobsd ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2005 17:19:04 -0000 In message , Garance A Drosihn writes: >At 7:01 PM +0200 6/10/05, Poul-Henning Kamp wrote: >Over in usr.bin/env/env.c, I want to add some features that people >probably would not car about if they are trying to trim the system >down to a minimal size. As near as I can tell, neither the Makefile >nor make.conf in tools/tools/nanobsd sets any define's via CFLAGS. >So, what variable would a source file check for via #ifdef to skip >the compilation of any extra "frill" features? Most of the trimming is leaving out entire programs rather than dropping functionality. Where we drop functionality the relevant makefile turns the make flag into CFLAGS. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.