cvs commit: src/tools/tools/nanobsd Makefile i386.diskimage make.conf

Brian F. Feldman green at FreeBSD.org
Wed Mar 10 06:53:38 PST 2004


"Poul-Henning Kamp" <phk at phk.freebsd.dk> wrote:
> In message <200403101428.i2AESTHp037005 at green.homeunix.org>, "Brian F. Feldman"
>  writes:
> >Poul-Henning Kamp <phk at FreeBSD.org> wrote:
> >> phk         2004/03/10 02:28:34 PST
> >> 
> >>   FreeBSD src repository
> >> 
> >>   Added files:
> >>     tools/tools/nanobsd  Makefile i386.diskimage make.conf 
> >>   Log:
> >>   Add first cut at "nanobsd":
> >>   
> >>   Nanobsd should make it very simple for people to create (CF-)disk images
> >>   for embedded us of FreeBSD.
> >>   
> >>   Currently only works for 256MB disks.  More agrressive shaving of the
> >>   build image can reduce that much further.
> >
> >Nice to have the capability without having to rewrite it each time :-)  
> >I didn't see anywhere that the libraries are trimmed down to only the ones 
> >to be used; the build system I've done does that for base system and for 
> >packages.  Would you like a copy of that?
> 
> Well, the make.conf shaves what can be shaved, and I prefer to do it
> that way, rather than to go in afterwards with surgical rm(1) usage,
> but I'll take any kind of useful patches to nanobsd.

At least in that case it should be helpful for identifying any libraries 
that are unused as dependencies and could stand to have their own ${NO_FOO}.
There are possibly a few other useful things in the scripts/Makefile, and
a (hand-generated) list of some of the largest (but least-useful on an 
embedded system) files.  I'll put up that part of the build system later, 
then.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\




More information about the cvs-src mailing list