Subject: Re: problem building -current
To: None <port-macppc@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-macppc
Date: 02/13/2002 23:59:19
In article <87g045oez5.fsf@panther.aladdin.de>
cpg@aladdin.de wrote:

> I have an obj directory (symlinked). I checked again, and "make
> dependall" in sys/arch/macppc/stand/ofwboot won't build ofwboot.elf
> and ofwboot.xcf, but "make all" does. Some bug in the makefiles?

How about this patch?

Index: Makefile
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/macppc/stand/ofwboot/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile	2002/02/01 18:45:29	1.26
+++ Makefile	2002/02/13 14:48:39
@@ -77,7 +77,7 @@
 vers.c: version
 	sh ${S}/conf/newvers_stand.sh ${.CURDIR}/version "macppc" ${NEWVERSWHAT}
 
-all: ${PROG} ${PROG}.xcf ${PROG}.elf
+all realall: ${PROG} ${PROG}.xcf ${PROG}.elf
 
 ${PROG}: ${OBJS} boot1.o ${LIBSA} ${LIBZ} ${LIBKERN} 
 	${LD} -s -N -Ttext ${RELOC_FLATFILE} -Bstatic -o ${PROG}.el1 \

---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp