There seems to be no reason to duplicate CANONICALOBJDIR logic from bsd.obj.mk,

which is included for crunchgen builds.

No change in build output occurred with this change.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-11-23 23:04:52 +00:00
parent 1cf09efe5d
commit 440ffb7e1e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291223

View File

@ -38,13 +38,6 @@ OUTMK= ${PROG}.mk
OUTC= ${PROG}.c
OUTPUTS=${OUTMK} ${OUTC} ${PROG}.cache
CRUNCHOBJS= ${.OBJDIR}
.if defined(MAKEOBJDIRPREFIX)
CANONICALOBJDIR:= ${MAKEOBJDIRPREFIX}${.CURDIR}
.elif defined(MAKEOBJDIR) && ${MAKEOBJDIR:M/*} != ""
CANONICALOBJDIR:= ${MAKEOBJDIR}
.else
CANONICALOBJDIR:= /usr/obj${.CURDIR}
.endif
CRUNCH_GENERATE_LINKS?= yes
CLEANFILES+= ${CONF} *.o *.lo *.c *.mk *.cache *.a *.h