Back out last change until some more testing is done. Should account for folks
not using objdirs and also force this to cd to $_SRC_TOP_ before doing the make obj
This commit is contained in:
parent
32c2431475
commit
900d713ff9
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.own.mk,v 1.224 2001/11/25 09:06:00 jmc Exp $
|
||||
# $NetBSD: bsd.own.mk,v 1.225 2001/11/25 23:40:08 jmc Exp $
|
||||
|
||||
.if !defined(_BSD_OWN_MK_)
|
||||
_BSD_OWN_MK_=1
|
||||
|
@ -49,8 +49,6 @@ _SRC_TOP_!= cd ${.CURDIR}; while :; do \
|
|||
|
||||
.if !defined(_SRC_TOP_OBJ_)
|
||||
.if ${_SRC_TOP_} != ""
|
||||
.BEGIN:
|
||||
@printf ".include <bsd.obj.mk>\n" | ${MAKE} -f- obj 1>&2
|
||||
_SRC_TOP_OBJ_!= cd ${_SRC_TOP_} && ${PRINTOBJDIR}
|
||||
.MAKEOVERRIDES+= _SRC_TOP_OBJ_
|
||||
.endif
|
||||
|
|
Loading…
Reference in New Issue