1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for industrial I/O Magnetometer sensor drivers
6 # When adding new entries keep the list in alphabetical order
7 obj-$(CONFIG_AK8974) += ak8974.o
8 obj-$(CONFIG_AK8975) += ak8975.o
9 obj-$(CONFIG_BMC150_MAGN) += bmc150_magn.o
10 obj-$(CONFIG_BMC150_MAGN_I2C) += bmc150_magn_i2c.o
11 obj-$(CONFIG_BMC150_MAGN_SPI) += bmc150_magn_spi.o
13 obj-$(CONFIG_MAG3110) += mag3110.o
14 obj-$(CONFIG_HID_SENSOR_MAGNETOMETER_3D) += hid-sensor-magn-3d.o
15 obj-$(CONFIG_MMC35240) += mmc35240.o
17 obj-$(CONFIG_IIO_ST_MAGN_3AXIS) += st_magn.o
18 st_magn-y := st_magn_core.o
19 st_magn-$(CONFIG_IIO_BUFFER) += st_magn_buffer.o
21 obj-$(CONFIG_IIO_ST_MAGN_I2C_3AXIS) += st_magn_i2c.o
22 obj-$(CONFIG_IIO_ST_MAGN_SPI_3AXIS) += st_magn_spi.o
24 obj-$(CONFIG_SENSORS_HMC5843) += hmc5843_core.o
25 obj-$(CONFIG_SENSORS_HMC5843_I2C) += hmc5843_i2c.o
26 obj-$(CONFIG_SENSORS_HMC5843_SPI) += hmc5843_spi.o
28 obj-$(CONFIG_SENSORS_RM3100) += rm3100-core.o
29 obj-$(CONFIG_SENSORS_RM3100_I2C) += rm3100-i2c.o
30 obj-$(CONFIG_SENSORS_RM3100_SPI) += rm3100-spi.o