From 37ca025a35ff52a4e5b002a5c2c0fc4adcaf02d4 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Sat, 15 Mar 1997 19:51:16 +0000 Subject: [PATCH] Properly export RELEASETAG and NO_PORTS (if set) into the chrooted make process via /mk. 2.2 candidate but i'll defer this for an hour until my test buld proved that it works. This should just fit Jordan's deadline. ;-) --- release/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/release/Makefile b/release/Makefile index 2e2dffbc7b2e..bd888542fd04 100644 --- a/release/Makefile +++ b/release/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.285 1997/03/12 18:09:15 joerg Exp $ +# $Id: Makefile,v 1.286 1997/03/14 08:21:09 joerg Exp $ # # How to roll a release: # @@ -132,6 +132,10 @@ rerelease release: echo "set -ex" >> ${CHROOTDIR}/mk echo "CFLAGS='-O2 -pipe'" >> ${CHROOTDIR}/mk echo "export CFLAGS" >> ${CHROOTDIR}/mk + echo "export RELEASETAG=${RELEASETAG}" >> ${CHROOTDIR}/mk +.if defined(NO_PORTS) + echo "export NO_PORTS=${NO_PORTS}" >> ${CHROOTDIR}/mk +.endif # Don't remove this, or the build will fall over! echo "export RELEASEDIR=/R" >> ${CHROOTDIR}/mk echo "cd /usr/src" >> ${CHROOTDIR}/mk