From owner-cvs-src@FreeBSD.ORG Fri Jun 10 17:15:34 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 D747416A41C; Fri, 10 Jun 2005 17:15:34 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEAFF43D55; Fri, 10 Jun 2005 17:15:33 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j5AHFU42003718; Fri, 10 Jun 2005 13:15:32 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <1298.1118422892@critter.freebsd.dk> References: <1298.1118422892@critter.freebsd.dk> Date: Fri, 10 Jun 2005 13:15:29 -0400 To: "Poul-Henning Kamp" From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) on 128.113.2.3 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:15:35 -0000 At 7:01 PM +0200 6/10/05, Poul-Henning Kamp wrote: >In message , Garance A Drosihn writes: > > >>Are any macros defined (-D) in CFLAGS when building for nanoBSD, >>or other "please make a smaller system" situations? ISTR some >>value to check via #ifdef, but now I can't remember what it was >>or where I saw it used. > >Yes, that is what the commit you quote is all about :-) > >nanobsd uses a private make.conf to keep them in. That's not quite what I mean, unless I missed something. 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? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu