summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-10-21 08:54:10 +0000
committerru <ru@FreeBSD.org>2004-10-21 08:54:10 +0000
commitdec08d0a5bd7f3973d7107cb72b12d7f13f20ca5 (patch)
treed53f625b46ab5df84b113caad97c56e8bf51818a /release
parent261287ba18aa351ec16912a2773fd2869ee5a58f (diff)
downloadFreeBSD-src-dec08d0a5bd7f3973d7107cb72b12d7f13f20ca5.zip
FreeBSD-src-dec08d0a5bd7f3973d7107cb72b12d7f13f20ca5.tar.gz
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.
Diffstat (limited to 'release')
-rw-r--r--release/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile
index 61ce2ba7..007555e 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -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).
OpenPOWER on IntegriCloud