Source-Changes-HG archive

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

[src/trunk]: src/share/mk In the various _MKTARGET macros, prepend "${.OBJDIR...



details:   https://anonhg.NetBSD.org/src/rev/4be9eddd12dc
branches:  trunk
changeset: 555593:4be9eddd12dc
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Nov 22 21:53:28 2003 +0000

description:
In the various _MKTARGET macros, prepend "${.OBJDIR:T}/" to the ${.TARGET},
to provide more context about the operation.  Especially useful for crunched
binaries and kernel builds.  Idea suggested by David Laight <dsl@>

diffstat:

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

diffs (33 lines):

diff -r 0f78ce7dbff9 -r 4be9eddd12dc share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sat Nov 22 20:57:18 2003 +0000
+++ b/share/mk/bsd.own.mk       Sat Nov 22 21:53:28 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.392 2003/11/09 02:54:50 mrg Exp $
+#      $NetBSD: bsd.own.mk,v 1.393 2003/11/22 21:53:28 lukem Exp $
 
 .if !defined(_BSD_OWN_MK_)
 _BSD_OWN_MK_=1
@@ -758,14 +758,14 @@
 _MKSHMSG_CREATE?=      ${_MKSHMSG} " create "
 _MKSHMSG_INSTALL?=     ${_MKSHMSG} "install "
 
-_MKTARGET_BUILD?=      ${_MKMSG_BUILD} ${.TARGET}
-_MKTARGET_CREATE?=     ${_MKMSG_CREATE} ${.TARGET}
-_MKTARGET_COMPILE?=    ${_MKMSG_COMPILE} ${.TARGET}
-_MKTARGET_FORMAT?=     ${_MKMSG_FORMAT} ${.TARGET}
-_MKTARGET_INSTALL?=    ${_MKMSG_INSTALL} ${.TARGET}
-_MKTARGET_LINK?=       ${_MKMSG_LINK} ${.TARGET}
-_MKTARGET_LEX?=                ${_MKMSG_LEX} ${.TARGET}
-_MKTARGET_REMOVE?=     ${_MKMSG_REMOVE} ${.TARGET}
-_MKTARGET_YACC?=       ${_MKMSG_YACC} ${.TARGET}
+_MKTARGET_BUILD?=      ${_MKMSG_BUILD} ${.OBJDIR:T}/${.TARGET}
+_MKTARGET_CREATE?=     ${_MKMSG_CREATE} ${.OBJDIR:T}/${.TARGET}
+_MKTARGET_COMPILE?=    ${_MKMSG_COMPILE} ${.OBJDIR:T}/${.TARGET}
+_MKTARGET_FORMAT?=     ${_MKMSG_FORMAT} ${.OBJDIR:T}/${.TARGET}
+_MKTARGET_INSTALL?=    ${_MKMSG_INSTALL} ${.OBJDIR:T}/${.TARGET}
+_MKTARGET_LINK?=       ${_MKMSG_LINK} ${.OBJDIR:T}/${.TARGET}
+_MKTARGET_LEX?=                ${_MKMSG_LEX} ${.OBJDIR:T}/${.TARGET}
+_MKTARGET_REMOVE?=     ${_MKMSG_REMOVE} ${.OBJDIR:T}/${.TARGET}
+_MKTARGET_YACC?=       ${_MKMSG_YACC} ${.OBJDIR:T}/${.TARGET}
 
 .endif # !defined(_BSD_OWN_MK_)



Home | Main Index | Thread Index | Old Index