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)
commitfd958f7eb4d0959f65377aaab4a63ba33cc53f06
tree518cb50c95181a6450117cfd1baee5e38305d459
parent5eaf711b53cb9977f7f54f6889c9a63d045c0ed2
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