xref: /linux/drivers/iio/imu/inv_mpu6050/Makefile (revision c95baf12f5077419db01313ab61c2aac007d40cd)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
209a642b7SGe Gao#
309a642b7SGe Gao# Makefile for Invensense MPU6050 device.
409a642b7SGe Gao#
509a642b7SGe Gao
609a642b7SGe Gaoobj-$(CONFIG_INV_MPU6050_IIO) += inv-mpu6050.o
716ef4337SJean-Baptiste Maneyrolinv-mpu6050-y := inv_mpu_core.o inv_mpu_ring.o inv_mpu_trigger.o \
8*b1392de0SJean-Baptiste Maneyrol		 inv_mpu_aux.o inv_mpu_magn.o
9b3eea8daSAdriana Reus
10b3eea8daSAdriana Reusobj-$(CONFIG_INV_MPU6050_I2C) += inv-mpu6050-i2c.o
119d8261dbSJean-Baptiste Maneyrolinv-mpu6050-i2c-y := inv_mpu_i2c.o inv_mpu_acpi.o
12fd64df16SAdriana Reus
13fd64df16SAdriana Reusobj-$(CONFIG_INV_MPU6050_SPI) += inv-mpu6050-spi.o
149d8261dbSJean-Baptiste Maneyrolinv-mpu6050-spi-y := inv_mpu_spi.o
15