#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
#KERNEL_LOCATION=/usr/src/linux-2.2.19
#KERNEL_LOCATION=/usr/src/linux-2.2.22
setup.o finish.o irq.o boardlist.o \
sja1000p.o sja1000.o i82527.o \
open.o proc.o close.o write.o read.o \
setup.o finish.o irq.o boardlist.o \
sja1000p.o sja1000.o i82527.o \
open.o proc.o close.o write.o read.o \
- echo \#define ENABLE_CARD_$(card) 1 >>.supported_cards.h ;)
-
-make_this_module: .supported_cards.h
+ echo \#define CONFIG_OC_LINCAN_CARD_$(card) 1 >>lincan_config.h ;)
+
+make_this_module: lincan_config.h
echo Linux kernel version $(KERNEL_VERSION)
echo Linux kernel sources $(KERNEL_LOCATION)
echo Module target $(obj-m)
echo Linux kernel version $(KERNEL_VERSION)
echo Linux kernel sources $(KERNEL_LOCATION)
echo Module target $(obj-m)