Remove this module parameter and use the CONFIG_COMEDI_DEBUG option to enable normal kernel debugging with -DDEBUG flag. Remove the #undef DEBUG from all the comedi source files so they will honour the -DDEBUG flag. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 lines
469 B
Makefile
15 lines
469 B
Makefile
ccflags-$(CONFIG_COMEDI_DEBUG) := -DDEBUG
|
|
|
|
comedi-y := comedi_fops.o range.o drivers.o \
|
|
comedi_buf.o
|
|
comedi-$(CONFIG_COMEDI_PCI_DRIVERS) += comedi_pci.o
|
|
comedi-$(CONFIG_COMEDI_PCMCIA_DRIVERS) += comedi_pcmcia.o
|
|
comedi-$(CONFIG_COMEDI_USB_DRIVERS) += comedi_usb.o
|
|
comedi-$(CONFIG_PROC_FS) += proc.o
|
|
comedi-$(CONFIG_COMPAT) += comedi_compat32.o
|
|
|
|
obj-$(CONFIG_COMEDI) += comedi.o
|
|
|
|
obj-$(CONFIG_COMEDI) += kcomedilib/
|
|
obj-$(CONFIG_COMEDI) += drivers/
|