|
Size: 427
Comment:
|
Size: 423
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)