Use ${_TOOL_PREFIX} instead of hardcoding "nb" for consistency. trunk
authornakayama <nakayama@NetBSD.org>
Fri, 17 May 2019 13:51:36 +0000
branchtrunk
changeset 451356 e1848b76433b
parent 451355 4616dfe9cd38
child 451357 b0c2c3f12cb3
Use ${_TOOL_PREFIX} instead of hardcoding "nb" for consistency.
share/mk/bsd.own.mk
tools/disklabel/Makefile
tools/gpt/Makefile
tools/vgrind/Makefile
--- a/share/mk/bsd.own.mk	Fri May 17 13:44:55 2019 +0000
+++ b/share/mk/bsd.own.mk	Fri May 17 13:51:36 2019 +0000
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.own.mk,v 1.1136 2019/05/17 13:44:55 nakayama Exp $
+#	$NetBSD: bsd.own.mk,v 1.1137 2019/05/17 13:51:36 nakayama Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -374,7 +374,7 @@
 TOOL_CTFMERGE=		${TOOLDIR}/bin/${_TOOL_PREFIX}ctfmerge
 TOOL_CVSLATEST=		${TOOLDIR}/bin/${_TOOL_PREFIX}cvslatest
 TOOL_DB=		${TOOLDIR}/bin/${_TOOL_PREFIX}db
-TOOL_DISKLABEL=		${TOOLDIR}/bin/nbdisklabel
+TOOL_DISKLABEL=		${TOOLDIR}/bin/${_TOOL_PREFIX}disklabel
 TOOL_DTC=		${TOOLDIR}/bin/${_TOOL_PREFIX}dtc
 TOOL_EQN=		${TOOLDIR}/bin/${_TOOL_PREFIX}eqn
 TOOL_FDISK=		${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk
--- a/tools/disklabel/Makefile	Fri May 17 13:44:55 2019 +0000
+++ b/tools/disklabel/Makefile	Fri May 17 13:51:36 2019 +0000
@@ -1,6 +1,6 @@
-#	$NetBSD: Makefile,v 1.7 2018/05/01 12:38:39 christos Exp $
+#	$NetBSD: Makefile,v 1.8 2019/05/17 13:51:36 nakayama Exp $
 
-HOSTPROGNAME=	nbdisklabel
+HOSTPROGNAME=	${_TOOL_PREFIX}disklabel
 HOST_SRCDIR=	sbin/disklabel
 HOST_SRCS=	disklabel.c
 
--- a/tools/gpt/Makefile	Fri May 17 13:44:55 2019 +0000
+++ b/tools/gpt/Makefile	Fri May 17 13:51:36 2019 +0000
@@ -1,6 +1,6 @@
-#	$NetBSD: Makefile,v 1.4 2018/05/01 12:38:39 christos Exp $
+#	$NetBSD: Makefile,v 1.5 2019/05/17 13:51:36 nakayama Exp $
 
-HOSTPROGNAME=	nbgpt
+HOSTPROGNAME=	${_TOOL_PREFIX}gpt
 HOST_SRCDIR=	sbin/gpt
 HOST_CPPFLAGS+=	-I${.CURDIR}
 
--- a/tools/vgrind/Makefile	Fri May 17 13:44:55 2019 +0000
+++ b/tools/vgrind/Makefile	Fri May 17 13:51:36 2019 +0000
@@ -1,6 +1,6 @@
-#	$NetBSD: Makefile,v 1.2 2014/07/15 16:04:35 christos Exp $
+#	$NetBSD: Makefile,v 1.3 2019/05/17 13:51:36 nakayama Exp $
 
-HOSTPROGNAME=	nbvfontedpr
+HOSTPROGNAME=	${_TOOL_PREFIX}vfontedpr
 HOST_BINDIR=	${TOOLDIR}/libexec
 HOST_SRCDIR=	usr.bin/vgrind
 HOST_FILESDIR=	${TOOLDIR}/share/misc