cvs commit: src/tools/tools/nanobsd ...

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Jun 10 17:19:04 GMT 2005


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 at 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.


More information about the cvs-src mailing list