Don't use /usr/obj/elf for make world anymore.

NOTE: Your old /usr/obj/elf won't be deleted automagicaly, you will have to
do it yourself.
This commit is contained in:
John Hay 1999-01-14 06:45:53 +00:00
parent 0ec81012da
commit 8d5cf60de2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42655

View file

@ -1,5 +1,5 @@
#
# $Id: Makefile.inc0,v 1.12 1998/12/16 11:45:51 ache Exp $
# $Id: Makefile.inc0,v 1.13 1998/12/20 14:30:08 jhay Exp $
#
# This makefile ensures that the object directory is set according to the
# object format to avoid mixing aout and elf formatted files during the
@ -18,7 +18,9 @@ MAKEOBJDIRPREFIX?=/usr/obj
# Variables passed to make work better if they are set as environment
# variables instead of command line options.
#
.if ${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "aout"
MK_ENV= MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/${OBJFORMAT}
.endif
#
# We should always use the current set of mk files, not the installed ones.
@ -51,7 +53,7 @@ ${RELTGTS} :
#
# Temporary path and environment for the legacy build.
#
ELFTMP= ${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp
ELFTMP= ${MAKEOBJDIRPREFIX}${.CURDIR}/tmp
ELFTMPPATH= ${ELFTMP}/sbin:${ELFTMP}/bin:${ELFTMP}/usr/sbin:${ELFTMP}/usr/bin:${ELFTMP}/usr/games
LEGACY_ENV= PATH=${ELFTMPPATH} OBJFORMAT=aout NOTOOLS=1 TOOLROOT=${ELFTMP} \
MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout