Show how to build an out-of-tree module.
[cascardo/kernel/old_slides/.git] / 01.hello / 01.hello.xml
index f3f9003..19aad0f 100644 (file)
@@ -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>