Subject: Re: kern/4021: kernel build uses absolute paths
To: None <martin@rumolt.teuto.de>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: netbsd-bugs
Date: 08/21/1997 06:15:43
On Wed, 20 Aug 1997 22:38:28 +0200 (MEST) 
 Martin Husemann <martin@rumolt.teuto.de> wrote:

 > If you mount a kernel compile directory on /mnt/usr/src/sys/arch/i386/..., 
 > config and compile it there, you cannot go to the fileserver (where it is
 > mounted as /usr/src/sys/arch/i386) and compile a new kernel there, because
 > there are absolute paths in lib/kern/.depend and lib/compat/.depend.
 > 
 > You have to edit these files manually and replace the absolute by relative
 > paths.

Actually, if you just remove the .depend files, and "make depend" again, the
right thing will happen.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 415 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939