iio: add configuration option for debug support
[firefly-linux-kernel-4.4.55.git] / drivers / iio / Makefile
1 #
2 # Makefile for the industrial I/O core.
3 #
4
5 ccflags-$(CONFIG_IIO_DEBUG) := -DDEBUG
6
7 obj-$(CONFIG_IIO) += industrialio.o
8 industrialio-y := industrialio-core.o industrialio-event.o inkern.o
9 industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o
10 industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o
11 industrialio-$(CONFIG_IIO_BUFFER_CB) += buffer_cb.o
12
13 obj-$(CONFIG_IIO_TRIGGERED_BUFFER) += industrialio-triggered-buffer.o
14 obj-$(CONFIG_IIO_KFIFO_BUF) += kfifo_buf.o
15
16 obj-y += accel/
17 obj-y += adc/
18 obj-y += amplifiers/
19 obj-y += common/
20 obj-y += dac/
21 obj-y += gyro/
22 obj-y += frequency/
23 obj-y += imu/
24 obj-y += light/
25 obj-y += magnetometer/
26 obj-y += trigger/
27 obj-y += pressure/