Re: make release: creating a trimmed down release?

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Tue, 19 Oct 2004 08:53:33 +0300
On Tue, Oct 19, 2004 at 12:55:32AM +0200, Roman Neuhauser wrote:
> I'd like to create a trimmed down release, but it looks like
> make release -DNO_CXX ... is not the way to go. What's the official
> way of doing this kind of stuff? Specifically, I've attempted the build
> with
> 
>   make release \
>     BUILDNAME=$buildname \
>     CHROOTDIR=$chrootdir \
>     CVSROOT=$cvsroot \
>     EXTSRCDIR=$extsrcdir \
>     RELEASETAG=$releasetag \
>     KERNEL_FLAGS=-j8 \
>     WORLD_FLAGS=-j8 \
>     -DNODOC \
>     -DNOPORTS \
>     -DNO_CXX \
>     -DNO_BLUETOOTH \
>     -DNO_DYNAMICROOT \
>     -DNO_FORTRAN \
>     -DNO_I4B \
>     -DNO_IPFILTER \
>     -DNO_KERBEROS \
>     -DNO_OBJC \
>     -DNO_OPENSSH \
>     -DNO_OPENSSL \
>     -DNO_SENDMAIL \
>     -DNO_TOOLCHAIN \
>     -DNOATM \
>     -DNOGAMES \
>     -DNOINET6 \
>     -DNOPROFILE \
>     -DNO_BIND
> 
Try adding these -DNO*'s to WORLD_FLAGS.  No guarantee it will all work,
but chances are good that most of them will work.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Tue Oct 19 2004 - 03:53:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC