OpenCloudOS-Kernel/drivers/iio/imu/inv_icm42600/Makefile

16 lines
516 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
obj-$(CONFIG_INV_ICM42600) += inv-icm42600.o
inv-icm42600-y += inv_icm42600_core.o
inv-icm42600-y += inv_icm42600_gyro.o
inv-icm42600-y += inv_icm42600_accel.o
inv-icm42600-y += inv_icm42600_temp.o
inv-icm42600-y += inv_icm42600_buffer.o
inv-icm42600-y += inv_icm42600_timestamp.o
obj-$(CONFIG_INV_ICM42600_I2C) += inv-icm42600-i2c.o
inv-icm42600-i2c-y += inv_icm42600_i2c.o
obj-$(CONFIG_INV_ICM42600_SPI) += inv-icm42600-spi.o
inv-icm42600-spi-y += inv_icm42600_spi.o