reorganized things
[my-code/kernel.git] / README
diff --git a/README b/README
new file mode 100644 (file)
index 0000000..1a88352
--- /dev/null
+++ b/README
@@ -0,0 +1,35 @@
+several kernel modules
+----------------------
+
+build:
+******
+
+  - link this directory into the kernel source tree
+
+      example:
+
+        ln -s $PWD /usr/src/linux/driver/misc/foo
+
+  - add a line containing 'obj-y += foo/' to the Makefile
+
+      example:
+
+        echo "obj-y +=foo/" >> /usr/src/linux/driver/misc/Makefile
+
+  - build the modules
+
+      example:
+
+        make 
+
+      or if that doesnt' work ...
+
+        make -C /usr/src/linux SUBDIRS=$PWD modules
+
+
+what is what:
+*************
+
+h3ll0.c        - the hello world kernel module
+mproc.c - process monitor in kernelspace
+