2011/6/18 Benjamin Kaduk <[email protected]>:
> For stock
> FreeBSD, I can integrate with the bsd.kmod.mk system makefile which
> simplifies things greatly.  Is there a similar standard mechanism by which
> to build an out-of-tree kernel module on Debian/kFreeBSD?

You can use bsd.kmod.mk on Debian all the same.  Make sure you
have installed:

freebsd-buildutils
kfreebsd-headers-8.2-1-amd64 (>= 8.2-2)

then:

SYSDIR=/usr/src/kfreebsd-headers-8.2-1-amd64/sys
PATH=/usr/lib/freebsd:$PATH make

For an example of this in action see:

http://people.debian.org/~rmh/fuse/

(Note: this package still needs cleanup, but the build system works)

-- 
Robert Millan


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to