Pass WORLD_FLAGS down to the distributeworld target, so it's

possible to build releases with customizations such as with
NOPROFILE.

Problem found and fix tested by Roman Neuhauser.
This commit is contained in:
Ruslan Ermilov 2004-10-21 08:54:10 +00:00
parent 39454d368f
commit d885836c32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136736

View File

@ -586,7 +586,8 @@ release.1:
# Install the system into the various distributions.
release.2:
cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/base
cd ${.CURDIR}/.. && ${CROSSMAKE} distributeworld DISTDIR=${RD}/trees
cd ${.CURDIR}/.. && ${CROSSMAKE} ${WORLD_FLAGS} distributeworld \
DISTDIR=${RD}/trees
touch ${.TARGET}
# Make and install the generic kernel(s).