Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Add definitions for the new "host tools " disklabel...



details:   https://anonhg.NetBSD.org/src/rev/5936242e00d2
branches:  trunk
changeset: 581977:5936242e00d2
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Sun Jun 12 19:31:25 2005 +0000

description:
Add definitions for the new "host tools " disklabel and fdisk.
Define TOOL_DISKLABEL and TOOL_FDISK.  Also introduce HOST_INSTALL_DIR
and HOST_INSTALL_SYMLINK.  These re-usable definitions help me to
install headers for disklabel and fdisk into ${TOOLDIR}/include/nbinclude/.

diffstat:

 share/mk/bsd.own.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 090e9d57f68a -r 5936242e00d2 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Jun 12 19:18:34 2005 +0000
+++ b/share/mk/bsd.own.mk       Sun Jun 12 19:31:25 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.439 2005/05/30 15:52:16 thorpej Exp $
+#      $NetBSD: bsd.own.mk,v 1.440 2005/06/12 19:31:25 dyoung Exp $
 
 .if !defined(_BSD_OWN_MK_)
 _BSD_OWN_MK_=1
@@ -234,6 +234,8 @@
 TOOL_MAKEINFO=         ${TOOLDIR}/bin/${_TOOL_PREFIX}makeinfo
 TOOL_MAKEWHATIS=       ${TOOLDIR}/bin/${_TOOL_PREFIX}makewhatis
 TOOL_MDSETIMAGE=       ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-mdsetimage
+TOOL_DISKLABEL=                ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel
+TOOL_FDISK=            ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk
 TOOL_MENUC=            MENUDEF=${TOOLDIR}/share/misc ${TOOLDIR}/bin/${_TOOL_PREFIX}menuc
 TOOL_MIPSELF2ECOFF=    ${TOOLDIR}/bin/${_TOOL_PREFIX}mips-elf2ecoff
 TOOL_MKCSMAPPER=       ${TOOLDIR}/bin/${_TOOL_PREFIX}mkcsmapper
@@ -651,6 +653,8 @@
 INSTALL_LINK?=         ${INSTALL} ${INSTPRIV} ${HRDLINK} ${RENAME}
 INSTALL_SYMLINK?=      ${INSTALL} ${INSTPRIV} ${SYMLINK} ${RENAME}
 HOST_INSTALL_FILE?=    ${INSTALL} ${COPY} ${PRESERVE} ${RENAME}
+HOST_INSTALL_DIR?=     ${INSTALL} -d
+HOST_INSTALL_SYMLINK?= ${INSTALL} ${SYMLINK} ${RENAME}
 .endif
 
 #



Home | Main Index | Thread Index | Old Index