Subject: Re: Kernel configuration/Makefile options to support Standard Libraries - crosscompile environment
To: Anand Lalgondar <solarflares@fastmail.fm>
From: Allen Briggs <briggs@wasabisystems.com>
List: tech-kern
Date: 12/30/2003 11:16:33
On Tue, Dec 30, 2003 at 08:43:00PM +0530, Anand Lalgondar wrote:
> But still I have that question in mind that if you require to include
> some thirdparty library, how to accomplish that. I browsed the whole
> NetBSD documentation, but could not find one.

It depends on what, exactly, your needs are.  You can look at how
libkern, libsa, libz, libcompat, etc. are handled if you want something
that is complied with the kernel.  If you have a separate library that
you want to include, you can just link it in like any other library by
putting it on the kernel's link line.  For that, take a look at how the
kernel Makefile is built.

-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 Wasabi Systems, Inc.             http://www.wasabisystems.com/