Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 21:10:19 +0300
From:      Maxim Sobolev <sobomax@portaone.com>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, Poul-Henning Kamp <phk@FreeBSD.ORG>, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/tools/tools/nanobsd ...
Message-ID:  <42A9D78B.1000002@portaone.com>
In-Reply-To: <p06210266becf5fcd9731@[128.113.24.47]>
References:  <200504132122.j3DLMKHa089226@repoman.freebsd.org> <p06210266becf5fcd9731@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn wrote:
> Back on April 13/2005, Poul-Henning Kamp wrote:
> 
>>
>>   Modified files:
>>     tools/tools/nanobsd  make.conf
>>   Log:
>>   sort and expand the prunelist in a more or less generally sensibly
>>   order.  Put some strategic comments in about how much storage is
>>   necessary and a longer explanation on the top.
>>
>>   It is now pretty trivial to put nanoBSD on as little as a 64MB
>>   CF card.
> 
> 
> Are any macros defined (-D) in CFLAGS when building for nanoBSD,
> or other "please make a smaller system" situations?  ISTR some
> value to check via #ifdef, but now I can't remember what it was
> or where I saw it used.

IMHO this would be impractical due to likely inter-dependency problems. 
Practical approach for building "stripped" system is to build normal 
world, install it and them remove everything you don't need (for example 
includes, static libs, /rescue etc).

-Maxim



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