Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2004 09:53:36 -0500
From:      "Brian F. Feldman" <green@FreeBSD.org>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/tools/tools/nanobsd Makefile i386.diskimage make.conf 
Message-ID:  <200403101453.i2AEraCf037185@green.homeunix.org>
In-Reply-To: Message from "Poul-Henning Kamp" <phk@phk.freebsd.dk>  <42202.1078929360@critter.freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:
> In message <200403101428.i2AESTHp037005@green.homeunix.org>, "Brian F. Feldman"
>  writes:
> >Poul-Henning Kamp <phk@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@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403101453.i2AEraCf037185>