Christopher James Halse Rogers
2009-Jun-24 10:32 UTC
[Nouveau] Out of tree nouveau.ko build.
As a part of updating Ubuntu's nouveau package, I've been figuring exactly how to build nouveau.ko from cgit.freedesktop.org/nouveau/linux-2.6 A first and trivial pass at this is attached. It doesn't do any interesting kernel configuration checking; it just sets the right include paths and calls out to make. -------------- next part -------------- A non-text attachment was scrubbed... Name: Makefile Type: text/x-makefile Size: 669 bytes Desc: not available Url : http://lists.freedesktop.org/archives/nouveau/attachments/20090624/1ab70420/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.freedesktop.org/archives/nouveau/attachments/20090624/1ab70420/attachment.pgp
On Wed, 24 Jun 2009 20:32:11 +1000 Christopher James Halse Rogers <chalserogers at gmail.com> wrote:> As a part of updating Ubuntu's nouveau package, I've been figuring > exactly how to build nouveau.ko from > cgit.freedesktop.org/nouveau/linux-2.6 > > A first and trivial pass at this is attached. It doesn't do any > interesting kernel configuration checking; it just sets the right > include paths and calls out to make.I took the Makefile and improved it, it can be found in http://cgit.freedesktop.org/nouveau/linux-2.6/tree/nouveau?h=newttm-devel-compat along with important information on the kernel dependencies. The kernel config is not any way checked AFAIK, so you need to take care of it yourself. The Makefile should be good for any Nouveau kernel branch. -- Pekka Paalanen http://www.iki.fi/pq/
Reasonably Related Threads
- [Bug 22461] New: [KMS] X fails to start with just a blank screen on nv4B
- [Bug 14394] New: [NV4B] Composite broken on 2nd head
- [Bug 16233] New: [Randr12] Server crash when detecting DVI output change
- DRM and the Nouveau kernel tree
- [Bug 13323] New: 7600Go: RandR12 fails to drive external DVI