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:
parent
1cf09efe5d
commit
440ffb7e1e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user