summaryrefslogtreecommitdiff
path: root/drivers/iio/imu/st_lsm9ds0/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/imu/st_lsm9ds0/Makefile')
-rw-r--r--drivers/iio/imu/st_lsm9ds0/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iio/imu/st_lsm9ds0/Makefile b/drivers/iio/imu/st_lsm9ds0/Makefile
new file mode 100644
index 000000000000..488af523f648
--- /dev/null
+++ b/drivers/iio/imu/st_lsm9ds0/Makefile
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+obj-$(CONFIG_IIO_ST_LSM9DS0) += st_lsm9ds0.o
+st_lsm9ds0-y := st_lsm9ds0_core.o
+obj-$(CONFIG_IIO_ST_LSM9DS0_I2C) += st_lsm9ds0_i2c.o
+obj-$(CONFIG_IIO_ST_LSM9DS0_SPI) += st_lsm9ds0_spi.o