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
We build the module after writing it.
[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
7306db5
..
954422f
100644
(file)
--- a/
01.hello/01.hello.xml
+++ b/
01.hello/01.hello.xml
@@
-34,16
+34,6
@@
We have prepared sample code to build in the samples/ directory. Try them.
</para>
</foil>
</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>
-
<foil>
<title>Init and Exit Functions</title>
<para>
<foil>
<title>Init and Exit Functions</title>
<para>
@@
-60,6
+50,16
@@
kernel to remove them when they are not needed, reducing memory consumption.
</para>
</foil>
</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>
+
<foil>
<title>Module Tools</title>
<itemizedlist>
<foil>
<title>Module Tools</title>
<itemizedlist>