summaryrefslogtreecommitdiffstats
path: root/drivers/iio/common/ssp_sensors/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/common/ssp_sensors/Makefile')
-rw-r--r--drivers/iio/common/ssp_sensors/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/iio/common/ssp_sensors/Makefile b/drivers/iio/common/ssp_sensors/Makefile
new file mode 100644
index 000000000..ba831429b
--- /dev/null
+++ b/drivers/iio/common/ssp_sensors/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Makefile for SSP sensor drivers and commons.
+#
+
+sensorhub-objs := ssp_dev.o ssp_spi.o
+obj-$(CONFIG_IIO_SSP_SENSORHUB) += sensorhub.o
+
+obj-$(CONFIG_IIO_SSP_SENSORS_COMMONS) += ssp_iio.o