Differences between revisions 2 and 3
Revision 2 as of 2011-04-11 12:46:23
Size: 427
Editor: MarkHymers
Comment:
Revision 3 as of 2011-04-11 12:47:05
Size: 423
Editor: MarkHymers
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
default: all:

This page contains brief notes on building well-behaved Out-Of-Tree kernel modules .

The kernel headers package needed can be found using linux-headers-$(uname -r)

If the Makefile is well behaved, it should be as simple as running make

A well behaved Makefile will contain something like

KVER := $(uname -r)
KPATH := /lib/modules/$(KVER)/build

all:
    $(MAKE) -C $(KPATH) M=$(CURDIR)