Subject: Re: kernels no longer buildable in isolation?
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: James Chacon <>
List: tech-toolchain
Date: 01/16/2005 17:56:06
On Sun, Jan 16, 2005 at 04:42:37PM -0500, der Mouse wrote:
> >> #    create  GENERIC/param.c
> >> rm -f param.c
> >> cp ../../../../conf/param.c .
> >> make: don't know how to make ../../../../../contrib/sys/dev/ic/athhal_osdep.c. Stop
> >> That looks as though it's trying to reach over from /usr/src/sys
> >> into /usr/src/contrib/sys.
> >> Is it simply no longer supported by NetBSD to build kernels without
> >> the full /usr/src context?  Or is this a bug worth sending-pr?  Or
> >> what?
> > you just need to add contrib/sys to that if you want ath support.
> Sure, that much is obvious.  But that doesn't answer any of the
> questions I asked as far as I can see.  It just seems..broken..for
> "copy /sys to somewhere private, config GENERIC, try to build" to
> break.

You've never been able to just rely on sys/* only. Ala the old sys.tgz
sets included usr.sbin/config for instance also. You're just assuming
that your other tools are complete enough for this to work...

> That's why I was asking: is this a bug, or is this just another way
> NetBSD has deviated from traditional practice (ie, the bug is in my
> expectations), or what?

Certainly not a bug (as I recall it specifically was put there for a reason).