]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/Makefile
LinCAN driver major structured comments and documentation update
[lincan.git] / lincan / src / Makefile
index 8f5cfa29f7e164c417dc5bd60b502d4b98909fff..01c6d09bf3317bb3f8092905444ff47c421770a9 100644 (file)
 #KERNEL_LOCATION=/usr/src/linux
 #KERNEL_LOCATION=/usr/src/linux-2.2.19
 #KERNEL_LOCATION=/usr/src/linux-2.2.22
-#KERNEL_LOCATION=/usr/src/linux-2.5.69
+#KERNEL_LOCATION=/usr/src/linux-2.6.0-test4
 #KERNEL_LOCATION=/home/cvs/ocera/ocera-build/kernel/linux
 
 # Enable debugging messages
-DEBUG = y
+#DEBUG = y
 
 # You can comment out the hardware you don't need. This will result in a smaller
 # driver. By default, all hardware is supported in the driver. See the README 
@@ -27,7 +27,7 @@ DEBUG = y
 
 SUPPORTED_CARDS = pip pccan smartcan nsi cc_can104 \
                  pc_i03 pcm3680 aim104 m437 pcccan ssv \
-                 bfadcan pikronisa template
+                 bfadcan pikronisa virtual template
 
 #SUPPORTED_CARDS = pcm3680 bfadcan pikronisa template
 
@@ -92,8 +92,8 @@ endif
 # Regular object files
 O_OBJS      += $(SUPPORTED_CARDS:%=%.o)
 O_OBJS       += can_queue.o devcommon.o main.o modparms.o setup.o \
-               sja1000.o i82527.o close.o ioctl.o \
-               open.o write.o read.o sja1000p.o irq.o select.o
+               sja1000p.o sja1000.o i82527.o irq.o boardlist.o \
+               open.o close.o write.o read.o ioctl.o select.o
 # Objects with exported symbols (-DEXPORT_SYMTAB)
 OX_OBJS      = 
 # Module objects 
@@ -149,7 +149,7 @@ install_this_module: make_this_module
 
 clean:
        rm -f $(M_OBJS) $(MX_OBJS) $(O_OBJS) $(OX_OBJS) $(obj-m) $(obj-m:%.o=%.ko) \
-                       .*.o.flags .*.o.cmd .*.ko.cmd .depend .supported_cards.h *~
+             $(obj-m:%.o=%.mod.o) .*.o.flags .*.o.cmd .*.ko.cmd .depend .supported_cards.h *~
 
 ifndef KERNEL_MODULE_V26
 include $(KERNEL_LOCATION)/Rules.make