Subject: Re: kern/4021: kernel build uses absolute paths
To: None <thorpej@nas.nasa.gov>
From: Martin Husemann <martin@rumolt.teuto.de>
List: netbsd-bugs
Date: 08/22/1997 06:29:02
> Actually, if you just remove the .depend files, and "make depend" again, the
> right thing will happen.

No, it won't.
It will get the "new" absolute paths in there, so you can not change
back to the other mount point without reruning make depend (which takes
quite some time on some machines).

Note that we have relative paths in ./.depend, but absolute ones in
./lib/kern/.depend and ./lib/compat/.depend.

So with a little Makefile-magic it should be possible to trick mkdepend
into doing the right thing!


Martin