Subject: Re: kernel won't build on arm32
To: Ben Harris <bjh21@netbsd.org>
From: Reinoud Zandijk <imago@kabel065011.kabel.utwente.nl>
List: port-arm32
Date: 02/18/2001 00:00:32
Hi Ben,

On Sat, 17 Feb 2001, Ben Harris wrote:
> Erm, the only problem I can remember there was fixed by
> sys/lib/libkern/Makefile rev 1.58.  What does your kernel build say after
> "making sure the kern library is up to date..."?  What happens if you rm
> lib/kern/*.o first?

Its rev. 1.59

Index: sys/lib/libkern/Makefile
===================================================================
RCS file: /cvsroot/syssrc/sys/lib/libkern/Makefile,v
retrieving revision 1.58
retrieving revision 1.59
diff -r1.58 -r1.59
1c1
< #     $NetBSD: Makefile,v 1.58 2001/02/15 23:17:44 simonb Exp $
---
> #     $NetBSD: Makefile,v 1.59 2001/02/16 16:58:27 bjh21 Exp $
6c6,17
< ARCHSUBDIR=
${MACHINE_ARCH:C/mipse[bl]/mips/:C/arm(26|32)/arm/:C/sh3e[bl]/sh3/}
---
> .include <bsd.own.mk>
>
> .if exists(${KERNDIR}/arch/${MACHINE_ARCH})
> ARCHSUBDIR=     ${MACHINE_ARCH}
> .elif exists(${KERNDIR}/arch/${MACHINE_CPU})
> ARCHSUBDIR=     ${MACHINE_CPU}
> .else
> .BEGIN:
>         @echo no ARCHSUBDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
>         @false
> .endif
>

so someone has been tempering with it again :(( ...

Will try the delete *.o  in lib/kern... but i dont think its gonna help :(

Cya,
Reinoud