basic driver build environment

n0g0013 ttw at cobbled.net
Sat Sep 17 10:40:03 PDT 2005


trying to write a PCI driver and finding it awkward to build it
outside the source tree.

will i have to wire in the new driver "sys" source tree to get a
clean edit/build environment?

currently i'm doing two things

	1.      merging my current kernel build directory with my
	new driver directory and building there.  it produces a
	module but leaves a hell of a mess.  the module reboots the
	system currently (no crash -- just reboot) but that may be
	something else.

	2.      getting a copy of CVS so i can wire into tree when i
	understand how

if anyone could guide me on

	a.      cleaner config for building modules in random
	directory (thought '-I' to make would work but it doesn't)

	b.      how to actually wire in a new driver to the "sys"
	source tree (once i have a copy)

i'd appreciate it.

-- 
        t
 t
                 w


More information about the freebsd-drivers mailing list