Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools tools: use <bsd.hostinit.mk> where appropriate
details: https://anonhg.NetBSD.org/src/rev/97be27e2f22e
branches: trunk
changeset: 376191:97be27e2f22e
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Jun 04 10:00:20 2023 +0000
description:
tools: use <bsd.hostinit.mk> where appropriate
bsd.hostinit.mk sets a bunch of NOxxx variables before
including bsd.init.mk (which includes bsd.own.mk),
so simplify instead of replicating the NOxxx setup
for host tools.
diffstat:
tools/Makefile.host | 9 ++-------
tools/Makefile.nbincludes | 13 ++-----------
2 files changed, 4 insertions(+), 18 deletions(-)
diffs (38 lines):
diff -r 56ca9e0e8534 -r 97be27e2f22e tools/Makefile.host
--- a/tools/Makefile.host Sun Jun 04 01:24:56 2023 +0000
+++ b/tools/Makefile.host Sun Jun 04 10:00:20 2023 +0000
@@ -1,11 +1,6 @@
-# $NetBSD: Makefile.host,v 1.34 2018/05/04 14:50:18 christos Exp $
+# $NetBSD: Makefile.host,v 1.35 2023/06/04 10:00:20 lukem Exp $
-NOINFO= # defined
-NOLINT= # defined
-NOMAN= # defined
-MKREPRO=no # Native toolchain might be unable to do it
-
-.include <bsd.own.mk>
+.include <bsd.hostinit.mk>
.ifndef NOCOMPATLIB
# Use TOOLDIR copy of libnbcompat and associated *.h files
diff -r 56ca9e0e8534 -r 97be27e2f22e tools/Makefile.nbincludes
--- a/tools/Makefile.nbincludes Sun Jun 04 01:24:56 2023 +0000
+++ b/tools/Makefile.nbincludes Sun Jun 04 10:00:20 2023 +0000
@@ -1,15 +1,6 @@
-# $NetBSD: Makefile.nbincludes,v 1.5 2016/09/14 00:41:04 christos Exp $
+# $NetBSD: Makefile.nbincludes,v 1.6 2023/06/04 10:00:20 lukem Exp $
-# NOxxx definitions are copied from Makefile.host, and are
-# required before .include <bsd.own.mk>. The include of bsd.own.mk
-# itself is required to get definitions of TOOL_* variables used in
-# "!=" variable assignments (which are performed early).
-#
-NOINFO= # defined
-NOLINT= # defined
-NOMAN= # defined
-
-.include <bsd.own.mk>
+.include <bsd.hostinit.mk>
_ARCHDIR= ${.CURDIR}/../../sys/arch
_INCDIR= ${.CURDIR}/../../include
Home |
Main Index |
Thread Index |
Old Index