Subject: Re: How to work around the machine includes...
To: Chris Gilbert , Ben Harris <bjh21@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: port-arm
Date: 06/22/2001 22:46:55
At 01:04 AM 6/23/2001 +0100, Chris Gilbert wrote:
>On Saturday 23 June 2001 12:56 am, Ben Harris wrote:
> > On Fri, 22 Jun 2001, Chris Gilbert wrote:
> > > I've just tried building an uptodate current system, but it's failing due
> > > to missing <machine/x.h> entries.  eg sys/param.h includes
> > > machine/param.h
> >
> > Erm, in the organisation that Matt's set up (and that you're using on
> > cats), I think that /usr/include/machine should be a symlink to
> > /usr/include/arm.  "make includes" in sys/arch should do this:
>
>Yes, I know it's new, so it's bound to have the odd teething problem, however
>in the long run it should help as it means we don't need quite so many .h
>files that just redirect at the arm ones.

We need to put a endian.h and param.h in arm/include that reflects the new
arm26/arm32 environment.  It should contain an #error if _LKM or _KERNEL is
defined.
--
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message