summaryrefslogtreecommitdiffstats
path: root/drivers/iio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/Makefile')
-rw-r--r--drivers/iio/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
new file mode 100644
index 0000000000..9622347a1c
--- /dev/null
+++ b/drivers/iio/Makefile
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for the industrial I/O core.
+#
+
+obj-$(CONFIG_IIO) += industrialio.o
+industrialio-y := industrialio-core.o industrialio-event.o inkern.o
+industrialio-$(CONFIG_IIO_BUFFER) += industrialio-buffer.o
+industrialio-$(CONFIG_IIO_TRIGGER) += industrialio-trigger.o
+
+obj-$(CONFIG_IIO_CONFIGFS) += industrialio-configfs.o
+obj-$(CONFIG_IIO_GTS_HELPER) += industrialio-gts-helper.o
+obj-$(CONFIG_IIO_SW_DEVICE) += industrialio-sw-device.o
+obj-$(CONFIG_IIO_SW_TRIGGER) += industrialio-sw-trigger.o
+obj-$(CONFIG_IIO_TRIGGERED_EVENT) += industrialio-triggered-event.o
+
+obj-y += accel/
+obj-y += adc/
+obj-y += addac/
+obj-y += afe/
+obj-y += amplifiers/
+obj-y += buffer/
+obj-y += cdc/
+obj-y += chemical/
+obj-y += common/
+obj-y += dac/
+obj-y += dummy/
+obj-y += gyro/
+obj-y += filter/
+obj-y += frequency/
+obj-y += health/
+obj-y += humidity/
+obj-y += imu/
+obj-y += light/
+obj-y += magnetometer/
+obj-y += multiplexer/
+obj-y += orientation/
+obj-y += position/
+obj-y += potentiometer/
+obj-y += potentiostat/
+obj-y += pressure/
+obj-y += proximity/
+obj-y += resolver/
+obj-y += temperature/
+obj-y += test/
+obj-y += trigger/