bsd.obj.mk: move MKHOSTOBJ to bsd.own.mk
Add default for MKHOSTOBJ=no to to bsd.own.mk _MKVARS.no. Simplify bsd.obj.mk check.
This commit is contained in:
parent
3b104e300e
commit
23c510a48b
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.obj.mk,v 1.53 2022/03/29 22:48:04 christos Exp $
|
||||
# $NetBSD: bsd.obj.mk,v 1.54 2023/06/03 21:23:49 lukem Exp $
|
||||
|
||||
.if !defined(_BSD_OBJ_MK_)
|
||||
_BSD_OBJ_MK_=1
|
||||
|
@ -51,7 +51,7 @@ __usrobjdirpf:= ${__usrobjdirpf}.${BUILDID}
|
|||
__need_objdir_target=yes
|
||||
.endif
|
||||
|
||||
.if defined(OBJHOSTMACHINE) && (${MKHOSTOBJ:Uno} != "no")
|
||||
.if defined(OBJHOSTMACHINE) && (${MKHOSTOBJ} != "no")
|
||||
# In case .CURDIR has been twiddled by a .mk file and is now relative,
|
||||
# make it absolute again.
|
||||
.if ${__curdir:M/*} == ""
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.own.mk,v 1.1339 2023/06/03 21:23:07 lukem Exp $
|
||||
# $NetBSD: bsd.own.mk,v 1.1340 2023/06/03 21:23:49 lukem Exp $
|
||||
|
||||
# This needs to be before bsd.init.mk
|
||||
.if defined(BSD_MK_COMPAT_FILE)
|
||||
|
@ -1355,6 +1355,7 @@ _MKVARS.no= \
|
|||
MKDTRACE \
|
||||
MKFIRMWARE \
|
||||
MKGROFFHTMLDOC \
|
||||
MKHOSTOBJ \
|
||||
MKKYUA \
|
||||
MKLIBCXX \
|
||||
MKLINT \
|
||||
|
|
Loading…
Reference in New Issue