projects
/
cascardo
/
kernel
/
old_slides
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Show how to build an out-of-tree module.
[cascardo/kernel/old_slides/.git]
/
01.hello
/
01.hello.xml
diff --git
a/01.hello/01.hello.xml
b/01.hello/01.hello.xml
index
f3f9003
..
19aad0f
100644
(file)
--- a/
01.hello/01.hello.xml
+++ b/
01.hello/01.hello.xml
@@
-15,4
+15,14
@@
We have prepared sample code to build in the samples/ directory. Try them.
</para>
</foil>
+<foil>
+<title>Building</title>
+<para>
+Building an out-of-tree linux module is very simple:
+</para>
+<screen>
+$ make -C /lib/modules/`uname -r`/build M=$PWD modules
+</screen>
+</foil>
+
</slides>