Re: Module names?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 05 January 2005 16:19, Andreas Hess wrote:
> I am running linux 2.6.10.
> I created my makefile according to the example given on kernelnewbies side:

I'm not sure whether this is uptodate or not. Try it with something like:

ifneq ($(KERNELRELEASE),) 
obj-m	:= sillymod.o

else
KDIR	:= /lib/modules/$(shell uname -r)/build
PWD	:= $(shell pwd)

default:
    $(MAKE) -C $(KDIR)  SUBDIRS=$(PWD) modules
endif


If you're german-speaking you might want to take a look at 
http://ezs.kr.hsnr.de/TreiberBuch/html/ which is a book about device driver 
development for Linux 2.6 (only in german unfortunately)

Cheers,
	Tobias

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux