X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fkernel.git;a=blobdiff_plain;f=README;fp=README;h=1a88352cd6dda57d30623a54167f1382ae6ffdbb;hp=0000000000000000000000000000000000000000;hb=8a336451c7768f15c42feaf03c4d82acd88bc6cc;hpb=5ef1719c674e2eeedbfaef7dacb982b3b7c3c74c diff --git a/README b/README new file mode 100644 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 +