On Wed, 2013-07-31 at 08:57 -0400, Jerry Stuckle wrote:
On 7/31/2013 4:39 AM, Ben Hutchings wrote:
On Tue, 2013-07-30 at 23:05 -0400, Jerry Stuckle wrote:
Hi, all,
I hope this is the right list.
I'm trying to compile my first module for Debian (right now it doesn't
do anything - one step at a time :) ).
My makefile is:
obj-m = mymodule.o
KVERSION = $(shell uname -r)
all:
make -C /lib/modules/$(KVERSION)/build M-$(PWD) modules
[...]
You typed 'M-' instead of 'M='.
Ben.
Ben,
Thanks for catching that (it must have been later than I thought last
night :) ).
However, that didn't change the problem. I still get the missing
Makefile message.
Your Makefile works for me with the typo fixed and a trivial mymodule.c:
#include <linux/module.h>
MODULE_LICENSE("GPL");
Please direct further questions to debian-user, as this is not on-topic
for debian-devel.
Ben.