Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvme68k/stand Use ${PRINTOBJDIR} rather that rollin...



details:   https://anonhg.NetBSD.org/src/rev/6ef06f856135
branches:  trunk
changeset: 531903:6ef06f856135
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Tue May 28 19:32:42 2002 +0000

description:
Use ${PRINTOBJDIR} rather that rolling our own.
This prevents parallel builds passing "--- xxx ---" (which make prints to
indicate it's building target "xxx") to ld.

diffstat:

 sys/arch/mvme68k/stand/Makefile.booters |  13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diffs (42 lines):

diff -r fdde8d79c85c -r 6ef06f856135 sys/arch/mvme68k/stand/Makefile.booters
--- a/sys/arch/mvme68k/stand/Makefile.booters   Tue May 28 19:09:38 2002 +0000
+++ b/sys/arch/mvme68k/stand/Makefile.booters   Tue May 28 19:32:42 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.booters,v 1.8 2001/12/12 01:49:47 tv Exp $
+#      $NetBSD: Makefile.booters,v 1.9 2002/05/28 19:32:42 bjh21 Exp $
 
 S?=            ${.CURDIR}/../../../..
 MDEC_DIR?=     /usr/mdec
@@ -52,9 +52,10 @@
 ${PROG}: machine m68k ${PROGDEPENDS}
        ${LD} -N -Ttext ${RELOC} -o $@ ${PROGLINKOBJS}
 
+.include <bsd.own.mk>
+
 LIB_SA_DIR=    ${.CURDIR}/../libsa
-LIBSA_DIR!=cd ${LIB_SA_DIR}; \
-       printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
+LIBSA_DIR!=    cd ${LIB_SA_DIR} && ${PRINTOBJDIR}
 LIBSA=${LIBSA_DIR}/libsa.a
 
 .PHONY: ${LIBSA}
@@ -69,8 +70,7 @@
        @cd ${LIB_SA_DIR} && ${MAKE} SRT0.o
 
 LIB_BUG_DIR=   ${.CURDIR}/../libbug
-LIBBUG_DIR!=cd ${LIB_BUG_DIR}; \
-       printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
+LIBBUG_DIR!=   cd ${LIB_BUG_DIR} && ${PRINTOBJDIR}
 LIBBUG=${LIBBUG_DIR}/libbug.a
 
 .PHONY: ${LIBBUG}
@@ -86,8 +86,7 @@
        @(cd ${LIB_BUG_DIR}; ${MAKE} bugstart.o)
 
 WRTVID_BOOT_DIR=  ${.CURDIR}/../wrtvid
-WRTVID_DIR!=cd ${WRTVID_BOOT_DIR}; \
-       printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
+WRTVID_DIR!=   cd ${WRTVID_BOOT_DIR} && ${PRINTOBJDIR}
 WRTVID=${WRTVID_DIR}/wrtvid
 
 .PHONY: ${WRTVID}



Home | Main Index | Thread Index | Old Index