Subject: kernels no longer buildable in isolation?
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-toolchain
Date: 01/14/2005 14:19:57
Traditionally, kernels have been buildable in isolation: if you clone
/sys and have a suitable config, you can build a kernel anywhere.

This seems to no longer be true of NetBSD.  On a 2.0 machine, I copied
/sys to ~/sys (I'm doing some hackery that I don't want to plow back
into /sys until I have it working), and ran config without errors, but
when I tried to make depend in the resulting build directory, I got

#    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

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?

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B