Subject: Re: adding to machine_spec in config(8)
To: matthew green <mrg@eterna.com.au>
From: Matthew Fredette <fredette@MIT.EDU>
List: tech-kern
Date: 05/17/2001 08:50:06
> this is fine, but i don't see any pressing need to change config(8).
> if you use <sun68k/foo.h>, this will get picked up by the -I$S/sys/arch
> that is default in kernel builds.  add this to your bootblock includes
> as well, and you should be fine?

Then I'd have to do #include <sun68k/include/foo.h>, which won't work
once these headers get installed.  I.e., in kernel sources I'm doing
#include <machine/foo.h>, where arch/sun2/include/foo.h does #include
<sun68k/foo.h>, and everything's going to end up under /usr/include.
Typical example is disklabel.h.

Matt

--
Matt Fredette
http://mit.edu/fredette/www