Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  4 Aug 2004 16:09:22 -0400
From:      "cd_freebsd" <cd_freebsd@gatorzone.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   Compiling Kernel Module with Current Kernel Options 
Message-ID:  <200408041609.AA23724184@gatorzone.com>

next in thread | raw e-mail | index | archive | help
I have an SMP machine, so after installing the GENERIC version of FreeBSD 4.7, I created my own version of the kernel that included SMP support and DDB.

Being a device driver writer, I created my Makefile just as perscribed, but when I compiled my code, the SMP define was not set. It appears that the build process did not include the options found in opt_global.h.

How do you build a driver that includes the proper options? Is there something special I have to do to make these options available to my driver?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408041609.AA23724184>