Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk bsd.obj.mk: move MKHOSTOBJ to bsd.own.mk
details: https://anonhg.NetBSD.org/src/rev/77cd87028b03
branches: trunk
changeset: 376178:77cd87028b03
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Jun 03 21:23:49 2023 +0000
description:
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.
diffstat:
share/mk/bsd.obj.mk | 4 ++--
share/mk/bsd.own.mk | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 2d63859396f5 -r 77cd87028b03 share/mk/bsd.obj.mk
--- a/share/mk/bsd.obj.mk Sat Jun 03 21:23:07 2023 +0000
+++ b/share/mk/bsd.obj.mk Sat Jun 03 21:23:49 2023 +0000
@@ -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 @@ PAWD?= /bin/pwd
__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/*} == ""
diff -r 2d63859396f5 -r 77cd87028b03 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Sat Jun 03 21:23:07 2023 +0000
+++ b/share/mk/bsd.own.mk Sat Jun 03 21:23:49 2023 +0000
@@ -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 @@ MKDEBUGTOOLS?=${MKTOOLSDEBUG:Uno}
MKDTRACE \
MKFIRMWARE \
MKGROFFHTMLDOC \
+ MKHOSTOBJ \
MKKYUA \
MKLIBCXX \
MKLINT \
Home |
Main Index |
Thread Index |
Old Index