xref: /linux/drivers/iio/imu/inv_mpu6050/Makefile (revision 9d8261dbc496da7cdc1f060894ab8052fd511895)
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
7*9d8261dbSJean-Baptiste Maneyrolinv-mpu6050-y := inv_mpu_core.o inv_mpu_ring.o inv_mpu_trigger.o
8b3eea8daSAdriana Reus
9b3eea8daSAdriana Reusobj-$(CONFIG_INV_MPU6050_I2C) += inv-mpu6050-i2c.o
10*9d8261dbSJean-Baptiste Maneyrolinv-mpu6050-i2c-y := inv_mpu_i2c.o inv_mpu_acpi.o
11fd64df16SAdriana Reus
12fd64df16SAdriana Reusobj-$(CONFIG_INV_MPU6050_SPI) += inv-mpu6050-spi.o
13*9d8261dbSJean-Baptiste Maneyrolinv-mpu6050-spi-y := inv_mpu_spi.o
14