Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Sep 2005 18:39:41 +0100
From:      n0g0013 <ttw@cobbled.net>
To:        freebsd-drivers@freebsd.org
Subject:   basic driver build environment
Message-ID:  <20050917173941.GJ6440@eyore.cobbled.net>

next in thread | raw e-mail | index | archive | help
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



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