projects
/
cascardo
/
kernel
/
samples
/
01.hello
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get back to a more simple Makefile version.
[cascardo/kernel/samples/01.hello/.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
d26e7c6
..
d4757ee
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,11
+1
@@
-ifneq ($(KERNELRELEASE),)
- obj-m := hello.o
-else
- KERNELDIR ?= /lib/modules/$(shell uname -r)/build
- PWD := $(shell pwd)
-default:
- $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
-
-clean:
- $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
-endif
+obj-m := hello.o