Use absolute path for KERNCONF in make.conf

Ian Lepore ian at freebsd.org
Wed Aug 15 14:07:20 UTC 2018


On Wed, 2018-08-15 at 16:03 +0200, Dries Michiels wrote:
> Hello,
> 
>  
> 
> Is it possible to specify an absolute directory for kernel
> configurations in
> make.conf?
> 
> Or does the specified name need to be present under
> /usr/src/sys/amd64/conf/KERNELNAME
> 
>  
> 
> EG: KERNCONF = /root/KERNELNAME
> 
>  
> 
> Thanks

When I chased this down 5 or 6 years ago, I couldn't find any way to
have an out-of-tree kernel config file other than to put a symlink into
the src/sys/<arch>/conf/ dir that points to the out-of-tree location
(which is still a bit unsatisfying and requires a writable src tree).

-- Ian



More information about the freebsd-hackers mailing list