make release: creating a trimmed down release?

Ruslan Ermilov ru at freebsd.org
Mon Oct 18 22:53:47 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041019/76c36e87/attachment.bin


More information about the freebsd-current mailing list