On Thu, 09 Jan 2014 03:00:11 +0530, Arun M Kumar said:

> all:
>          make -C /home/arun/Linux_Source M=`pwd`

The directory the -C parameter points at has to be a Linux source
tree that has had at least a 'make prepare' run inside it.

In addition, to actually *use* the module, you'll need to modprobe it
into a kernel built in that directory (in other words, you need to build
against the source tree of the kernel you plan to be running).  So
you'll need to do a 'make <something>config', then a 'make' and then
install and boot that kernel in order to actually test your module.

Attachment: pgp5l4M9ncE6A.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to