Subject: Re: macppc kernel make -j4 fail
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Luke Mewburn <lukem@NetBSD.org>
List: port-macppc
Date: 08/11/2003 13:31:59
On Sun, Aug 10, 2003 at 01:52:40AM +0900, Izumi Tsutsui wrote:
| In article <20030809162752.GA16813@antioche.lip6.fr>
| bouyer@antioche.lip6.fr wrote:
|
| > On Sun, Aug 10, 2003 at 01:24:20AM +0900, Izumi Tsutsui wrote:
| > > make(1) pulls bzero.S because .depend specifies it.
| > > If .depend doesn't exist (or it specifies bzero.c),
| > > bzero.c is used properly.
| >
| > OK. Do you have an idea on how to solve this ?
|
| I think bsd.dep.mk should be fixed,
| but I have no idea about the actual fix..
does this patch fix it (with both bzero.c and bzero.S available)?
Index: bsd.dep.mk
===================================================================
RCS file: /cvsroot/src/share/mk/bsd.dep.mk,v
retrieving revision 1.56
diff -p -p -u -r1.56 bsd.dep.mk
--- bsd.dep.mk 2003/08/06 13:55:11 1.56
+++ bsd.dep.mk 2003/08/11 03:31:33
@@ -32,7 +32,7 @@ ${__DPSRCS.d}: ${__DPSRCS.notd} ${DPSRCS
@rm -f .depend
cat ${__DPSRCS.d} /dev/null > .depend
-.SUFFIXES: .d .c .m .s .S .C .cc .cpp .cxx
+.SUFFIXES: .d .s .S .c .C .cc .cpp .cxx .m
.c.d:
${MKDEP} -f ${.TARGET} ${MKDEPFLAGS} ${CFLAGS:M-[ID]*} ${CPPFLAGS} \