diff --git a/release/Makefile b/release/Makefile index 67af96c697b5..4e89b4eb0ee9 100644 --- a/release/Makefile +++ b/release/Makefile @@ -396,12 +396,22 @@ rerelease release: .endif .if defined(TARGET_ARCH) echo "export TARGET_ARCH=\"${TARGET_ARCH}\"" >> ${CHROOTDIR}/mk +.endif +.if defined(EXTRA_SRC) + echo "export EXTRA_SRC=\"${EXTRA_SRC}\"" >> ${CHROOTDIR}/mk +.endif +.if defined(FIXCRYPTO) + echo "export FIXCRYPTO=\"${FIXCRYPTO}\"" >> ${CHROOTDIR}/mk +.endif +.if defined(NOKERBEROS) + echo "export NOKERBEROS=\"${NOKERBEROS}\"" >> ${CHROOTDIR}/mk +.endif +.if defined(NO_SENDMAIL) + echo "export NO_SENDMAIL=\"${NO_SENDMAIL}\"" >> ${CHROOTDIR}/mk .endif # Don't remove this, or the build will fall over! echo "export RELEASEDIR=${_R}" >> ${CHROOTDIR}/mk echo "export PATH=/bin:/usr/bin:/sbin:/usr/sbin:${LOCALDIR}" >> ${CHROOTDIR}/mk - echo "export TMPDIR=/tmp" >> ${CHROOTDIR}/mk - echo "export MAKEOBJDIRPREFIX=/usr/obj" >> ${CHROOTDIR}/mk echo "export MANBUILDCAT=YES" >> ${CHROOTDIR}/mk echo "if [ ! -f /tmp/.world_done ]; then" >> ${CHROOTDIR}/mk echo " cd /usr/src" >> ${CHROOTDIR}/mk