Added option for VME bus support
[lincan.git] / lincan / src / Makefile.omk
index c130e33..553c73c 100644 (file)
@@ -2,7 +2,7 @@ lincan_cards_NAMES = pip pccan smartcan nsi cc_can104 \
                pc_i03 pcm3680 aim104 m437 pcccan ssv \
                bfadcan pikronisa kv_pcican msmcan unican virtual template
 
-default_CONFIG = CONFIG_OC_LINCAN=y CONFIG_OC_LINCANRTL=n
+default_CONFIG = CONFIG_OC_LINCAN=y CONFIG_OC_LINCANRTL=n CONFIG_OC_LINCANVME=n
 default_CONFIG += CONFIG_OC_LINCAN_PORTIO_ONLY=n CONFIG_OC_LINCAN_MEMIO_ONLY=n
 default_CONFIG += $(foreach n, $(lincan_cards_NAMES), CONFIG_OC_LINCAN_CARD_$(n)=y)
 
@@ -16,8 +16,8 @@ LOCAL_CONFIG_H = lincan_config.h
 ifeq ($(CONFIG_OC_LINCAN),y)
 
 rtlinux_INCLUDES = -I $(srcdir)/../include -I .
-kernel_INCLUDES = -I $(srcdir)/../include -I .
-#kernel_INCLUDES += -DCAN_DEBUG
+kernel_INCLUDES = -I $(srcdir)/../include -I . -g
+kernel_INCLUDES += -DCAN_DEBUG
 kernel_INCLUDES += -DWITH_DEVFS_FS
 
 lincan_cards_SOURCES = $(lincan_cards_SELECTED:%=%.c)