]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: Makefile: conditionally compile multi-file core module
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 20 Dec 2012 00:49:24 +0000 (17:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:51:11 +0000 (14:51 -0800)
commitf65546958840603e1852697a2f85b41fc06aeb2e
tree518cb50c95181a6450117cfd1baee5e38305d459
parent0538df496eb55b6ead37a6eacff4e86354dc98ed
staging: comedi: Makefile: conditionally compile multi-file core module

Instead of using the #ifdef'ery in the comedi_compat32.c and proc.c
files to include/exclude them from the comedi core, modify the Makefile
to include those files automatically when enabled in the .config.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/Makefile
drivers/staging/comedi/comedi_compat32.c
drivers/staging/comedi/proc.c