Add OBJFORMAT to list of variables passed into /mk script since it seems

to think you're using aout otherwise (and emits a rather confusing and
inaccurate diagnostic about OBJFORMAT being set in /etc/make.conf when
it most demonstrably is not set there).
This commit is contained in:
Jordan K. Hubbard 1998-09-05 06:54:42 +00:00
parent 173d7ad5bd
commit 0f31af3165

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.375 1998/09/04 23:51:40 jkh Exp $
# $Id: Makefile,v 1.376 1998/09/05 00:36:18 msmith Exp $
#
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
#
@ -199,6 +199,7 @@ rerelease release:
echo "export DISTRIBUTIONS=\"${DISTRIBUTIONS}\"" >> ${CHROOTDIR}/mk
echo "export BUILDNAME=${BUILDNAME}" >> ${CHROOTDIR}/mk
echo "export VNDEVICE=${VNDEVICE}" >> ${CHROOTDIR}/mk
echo "export OBJFORMAT=${OBJFORMAT}" >> ${CHROOTDIR}/mk
.if defined(RELEASETAG)
echo "export RELEASETAG=${RELEASETAG}" >> ${CHROOTDIR}/mk
.endif