added cvsignore file
[my-code/kernel.git] / README
1 several kernel modules
2 ----------------------
3
4 build:
5 ******
6
7   - link this directory into the kernel source tree
8
9       example:
10
11         ln -s $PWD /usr/src/linux/driver/misc/foo
12
13   - add a line containing 'obj-y += foo/' to the Makefile
14
15       example:
16
17         echo "obj-y +=foo/" >> /usr/src/linux/driver/misc/Makefile
18
19   - build the modules
20
21       example:
22
23         make 
24
25       or if that doesnt' work ...
26
27         make -C /usr/src/linux SUBDIRS=$PWD modules
28
29
30 what is what:
31 *************
32
33 h3ll0.c - the hello world kernel module
34 mproc.c - process monitor in kernelspace
35