From: Ian Abbott Date: Wed, 23 Jun 2010 15:12:40 +0000 (+0000) Subject: Add a dkms.conf file for building comedi with DKMS X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ca6e6d98d4cd2fb2749e11e41532f6203ba3950;p=comedi.git Add a dkms.conf file for building comedi with DKMS (Dynamic Kernel Module Support). --- diff --git a/Makefile.am b/Makefile.am index 9c7d77ee..8b252418 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = comedi include EXTRA_DIST = autogen.sh \ AUTHORS \ + dkms.conf \ m4/as-linux.m4 \ m4/as-modtool.m4 \ m4/rtai.m4 \ diff --git a/dkms.conf b/dkms.conf new file mode 100644 index 00000000..1caec82b --- /dev/null +++ b/dkms.conf @@ -0,0 +1,399 @@ +PACKAGE_VERSION=0.7.76+20100623cvs-1.nodist +PACKAGE_NAME=comedi +AUTOINSTALL="YES" +MAKE[0]="./configure --with-linuxdir=${kernel_source_dir} && make" +local nn +nn=0 +# Main comedi module +BUILT_MODULE_NAME[$nn]="comedi" +BUILT_MODULE_LOCATION[$nn]="comedi/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/" +# kcomedilib +BUILT_MODULE_NAME[$nn]="kcomedilib" +BUILT_MODULE_LOCATION[$nn]="comedi/kcomedilib/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/kcomedilib/" +# Driver (and helper) modules +BUILT_MODULE_NAME[$nn]="8255" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="comedi_fc" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="das08" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_labpc" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="acl7225b" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adq12b" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="aio_aio12_8" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="aio_iiro_16" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="amplc_pc236" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="amplc_pc263" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="amplc_dio200" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="c6xdigio" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="comedi_bond" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="das16" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="das16m1" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="das6402" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="das800" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="das1800" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="dmm32at" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="dt2801" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="dt2811" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="dt2814" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="dt2815" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="dt2817" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="dt282x" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="fl512" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="mpc624" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="multiq3" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_at_a2150" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_at_ao" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_atmio" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_atmio16d" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_tio" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcm3724" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcm3730" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcmad" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcmda12" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="poc" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcl711" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcl724" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcl725" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcl726" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcl730" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcl812" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcl816" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcl818" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcmuio" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="pcmmio" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="comedi_parport" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="rti800" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="rti802" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="serial2002" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="skel" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ssv_dnp" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="s526" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="comedi_test" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="unioxx5" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +# PCI driver (and helper) modules +if grep -q '^CONFIG_PCI=[ym]' ${kernel_source_dir}/.config 2>/dev/null ; then +BUILT_MODULE_NAME[$nn]="mite" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="icp_multi" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_035" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_1032" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_1500" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_1516" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_1564" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_16xx" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +#BUILT_MODULE_NAME[$nn]="addi_apci_1710" +#BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +#DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_2016" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_2032" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_2200" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_3001" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_3120" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +#BUILT_MODULE_NAME[$nn]="addi_apci_3200" +#BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +#DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +#BUILT_MODULE_NAME[$nn]="addi_apci_3300" +#BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +#DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_3501" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="addi_apci_3xxx" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +#BUILT_MODULE_NAME[$nn]="addi_apci_all" +#BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +#DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adl_pci6208" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adl_pci7230" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adl_pci7296" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adl_pci7432" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adl_pci8164" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adl_pci9111" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adl_pci9118" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adv_pci1710" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adv_pci1723" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="adv_pci_dio" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="amplc_pci224" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="amplc_pci230" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="cb_pcidas" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="cb_pcidas64" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="cb_pcidda" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="cb_pcidio" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="cb_pcimdas" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="cb_pcimdda" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="contec_pci_dio" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="daqboard2000" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="dt3000" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="gsc_hpdi" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ii_pci20kc" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="jr3_pci" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ke_counter" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="me_daq" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="me4000" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_6527" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_65xx" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_660x" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_670x" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_pcidio" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_pcimio" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_tiocmd" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="rtd520" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="s626" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +fi +# USB driver modules +if grep -q '^CONFIG_USB=[ym]' ${kernel_source_dir}/.config 2>/dev/null ; then +BUILT_MODULE_NAME[$nn]="usbdux" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="usbduxfast" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="dt9812" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +fi +# PCMCIA driver modules +# (Try and mimic checks done by configure script.) +if grep -q '^CONFIG_PCMCIA=[ym]' ${kernel_source_dir}/.config 2>/dev/null && + tr '\n' ' ' < /lib/modules/${kernel_version}/source/include/pcmcia/ds.h 2>/dev/null | + grep -q 'struct[[:space:]]\+pcmcia_driver[[:space:]]*{[^}]*probe' ; then +BUILT_MODULE_NAME[$nn]="cb_das16_cs" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="das08_cs" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_daq_700" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_daq_dio24" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_mio_cs" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="ni_labpc_cs" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +BUILT_MODULE_NAME[$nn]="quatech_daqp_cs" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +fi +# real-time driver modules +if grep -q '^CONFIG_\(RTHAL\|ADEOS\|IPIPE\)=y' ${kernel_source_dir}/.config 2>/dev/null ; then +BUILT_MODULE_NAME[$nn]="comedi_rt_timer" +BUILT_MODULE_LOCATION[$nn]="comedi/drivers/" +DEST_MODULE_LOCATION[$((nn++))]="/kernel/comedi/drivers/" +fi