Building custom kernel with new files

Ryan French rfrench at freebsd.org
Sat Aug 16 20:46:04 UTC 2008


On Sat, 16 Aug 2008 10:33:09 pm you wrote:
> On Sat, Aug 16, 2008 at 10:10:02PM +1200, Ryan French wrote:
> > Hi All,
> >
> > I am currently trying to build a custom kernel for my Google Summer of
> > Code, and am running into a bit of a problem. I have all of my code
> > compiling, but when I get to the linking stage as soon as it comes to the
> > new files I have installed it says the *.o does not exist. I have added
> > the files to /conf/files, and well as added the files to /conf/options
> > and /conf/NOTES, and the option is set in my Makefile for the kernel. Is
> > there another step I need to do before I can build the kernel?
>
> how do you build the kernel? adding to conf/files and conf/options should
> be sufficient...

I build the file using

make buildkernel KERNCONF=MPLSKERNEL

while in the /usr/src/ directory.


More information about the freebsd-hackers mailing list