DIRDEPS_BUILD: Don't reset OBJROOT in sub-makes.
MAKEOBJDIRPREFIX is set to blank and exported from MAKELEVEL0 along with OBJROOT exported. In sub-makes OBJROOT is recalculated with an empty MAKEOBJDIRPREFIX though. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
3ff8e4d3c0
commit
d2295d5877
@ -10,7 +10,7 @@ MK_INSTALL_AS_USER= yes
|
||||
_default_makeobjdir=$${.CURDIR:S,^$${SRCTOP},$${OBJTOP},}
|
||||
|
||||
.if empty(OBJROOT) || ${.MAKE.LEVEL} == 0
|
||||
.if defined(MAKEOBJDIRPREFIX)
|
||||
.if defined(MAKEOBJDIRPREFIX) && !empty(MAKEOBJDIRPREFIX)
|
||||
# put things approximately where they want
|
||||
OBJROOT:=${MAKEOBJDIRPREFIX}${SRCTOP}/
|
||||
MAKEOBJDIRPREFIX=
|
||||
|
Loading…
x
Reference in New Issue
Block a user