Date: Fri, 10 Jun 2005 19:18:59 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Garance A Drosihn <drosih@rpi.edu> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/tools/tools/nanobsd ... Message-ID: <1543.1118423939@critter.freebsd.dk> In-Reply-To: Your message of "Fri, 10 Jun 2005 13:15:29 EDT." <p06210268becf79438ee9@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <p06210268becf79438ee9@[128.113.24.47]>, 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1543.1118423939>