opt_global.h for kernel modules

Doug White dwhite at gumbysoft.com
Wed Jun 23 20:33:04 PDT 2004

On Wed, 23 Jun 2004, Joerg Wallerich wrote:

> In this case this leads to different behavior of the driver
> depending on it being build as KLD or not.
> Is this intentional?

Its a limitation of the current build framework.  While its obvious what
kernel config should be referenced during a normal build, its ambiguous
for what to do if built standalone (cd /sys/modules/foo; make && make

There's an opportunity for someone to do some work here :)

Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org

More information about the freebsd-current mailing list