projects
/
cascardo
/
kernel
/
samples
/
01.hello
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added more descriptive module macros.
[cascardo/kernel/samples/01.hello/.git]
/
Makefile
1
ifneq ($(KERNELRELEASE),)
2
obj-m := hello.o
3
else
4
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
5
PWD := $(shell pwd)
6
default:
7
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
8
9
clean:
10
$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
11
endif