Re: Module names?

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

 



I am running linux 2.6.10.
I created my makefile according to the example given on kernelnewbies side:


KSRC=/lib/modules/2.6.10/build

obj-m = sillymod.o

build:
        make -C $(KSRC) SUBDIRS=`pwd` modules

install:
        @#make -C $(KSRC) SUBDIRS=`pwd` modules_install
        @echo "Install it yourself ..."

clean:
        @#make -C $(KSRC) SUBDIRS=`pwd` clean
        rm -f *.o *.ko *.mod.o *.mod.c .*.{cmd,flags}
        rm -rf config.status config.log autom4te*.cache


A.




--
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