Merge from tbemd:

change the name of the object tree from ${TARGET} to
${TARGET}.${TARGET_ARCH} so we can do both big and little endian
builds in the same tree.

Reviewed by:	arch@ (twice)
This commit is contained in:
Warner Losh 2010-06-24 16:32:20 +00:00
parent 9998d0c0f0
commit 4a5faa676e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209510

View File

@ -165,7 +165,7 @@ BUILD_ARCH!= uname -p
.if ${MACHINE} == ${TARGET} && !defined(CROSS_BUILD_TESTING)
OBJTREE= ${MAKEOBJDIRPREFIX}
.else
OBJTREE= ${MAKEOBJDIRPREFIX}/${TARGET}
OBJTREE= ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}
.endif
WORLDTMP= ${OBJTREE}${.CURDIR}/tmp
# /usr/games added for fortune which depend on strfile