From owner-cvs-src@FreeBSD.ORG Wed Mar 10 06:53:37 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9D9B316A4CE; Wed, 10 Mar 2004 06:53:37 -0800 (PST) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.10/8.12.9) with ESMTP id i2AErbRt037188; Wed, 10 Mar 2004 09:53:37 -0500 (EST) (envelope-from green@green.homeunix.org) Received: from localhost (green@localhost)i2AEraCf037185; Wed, 10 Mar 2004 09:53:36 -0500 (EST) (envelope-from green@green.homeunix.org) Message-Id: <200403101453.i2AEraCf037185@green.homeunix.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: "Poul-Henning Kamp" In-Reply-To: Message from "Poul-Henning Kamp" <42202.1078929360@critter.freebsd.dk> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 Mar 2004 09:53:36 -0500 Sender: green@green.homeunix.org cc: "Brian F. Feldman" cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/tools/tools/nanobsd Makefile i386.diskimage make.conf X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 10 Mar 2004 14:53:38 -0000 "Poul-Henning Kamp" wrote: > In message <200403101428.i2AESTHp037005@green.homeunix.org>, "Brian F. Feldman" > writes: > >Poul-Henning Kamp 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. \,,,,,,,,,,,,,,,,,,,,,,\