xref: /linux/drivers/iio/imu/inv_mpu6050/Makefile (revision c95baf12f5077419db01313ab61c2aac007d40cd)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for Invensense MPU6050 device.
4#
5
6obj-$(CONFIG_INV_MPU6050_IIO) += inv-mpu6050.o
7inv-mpu6050-y := inv_mpu_core.o inv_mpu_ring.o inv_mpu_trigger.o \
8		 inv_mpu_aux.o inv_mpu_magn.o
9
10obj-$(CONFIG_INV_MPU6050_I2C) += inv-mpu6050-i2c.o
11inv-mpu6050-i2c-y := inv_mpu_i2c.o inv_mpu_acpi.o
12
13obj-$(CONFIG_INV_MPU6050_SPI) += inv-mpu6050-spi.o
14inv-mpu6050-spi-y := inv_mpu_spi.o
15