Subject: re: adding to machine_spec in config(8)
To: Matthew Fredette <fredette@MIT.EDU>
From: matthew green <firstname.lastname@example.org>
Date: 05/18/2001 16:01:10
> 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.
they don't go in sys/arch/sun68k, but sys/dev/sun68k, and you refer to them
as <dev/sun68k/foo.h>, which works both ways.