We build the module after writing it.
[cascardo/kernel/old_slides/.git] / 01.hello / 01.hello.xml
index 7306db5..954422f 100644 (file)
@@ -34,16 +34,6 @@ 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>
-
 <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>
 
+<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>