summaryrefslogtreecommitdiffstats
path: root/drivers/iio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/Makefile')
-rw-r--r--drivers/iio/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
new file mode 100644
index 00000000000..d5fc57d12ea
--- /dev/null
+++ b/drivers/iio/Makefile
@@ -0,0 +1,10 @@
+#
+# 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_KFIFO_BUF) += kfifo_buf.o