Pass -o option to crunchgen(1) to ensure object files end up

in seperate directories.  This mostly affects RELENG_4 where
not doing so results in ${CHROOTDIR}/usr/src/release being
filled with object files, and "srelease" distribution having
them in.

PR:		misc/43825
Prodded by:	re (murray)
This commit is contained in:
Ruslan Ermilov 2002-10-11 14:05:19 +00:00
parent 2c38619b52
commit 06b76511f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104901

View File

@ -459,9 +459,9 @@ release.5:
rm -rf ${j}_crunch
mkdir ${j}_crunch
.if exists(${.CURDIR}/${TARGET}/${j}_crunch.conf)
cd ${j}_crunch; ${WMAKEENV} crunchgen ${.CURDIR}/${TARGET}/${j}_crunch.conf
cd ${j}_crunch; ${WMAKEENV} crunchgen -o ${.CURDIR}/${TARGET}/${j}_crunch.conf
.else
cd ${j}_crunch; ${WMAKEENV} crunchgen ${.CURDIR}/${j}_crunch.conf
cd ${j}_crunch; ${WMAKEENV} crunchgen -o ${.CURDIR}/${j}_crunch.conf
.endif
cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk subclean
cd ${.CURDIR}/..; ${TMAKE} build-tools