1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for industrial I/O accelerometer drivers
6 # When adding new entries keep the list in alphabetical order
7 obj-
$(CONFIG_ADXL345
) += adxl345_core.o
8 obj-
$(CONFIG_ADXL345_I2C
) += adxl345_i2c.o
9 obj-
$(CONFIG_ADXL345_SPI
) += adxl345_spi.o
10 obj-
$(CONFIG_BMA180
) += bma180.o
11 obj-
$(CONFIG_BMA220
) += bma220_spi.o
12 obj-
$(CONFIG_BMC150_ACCEL
) += bmc150-accel-core.o
13 obj-
$(CONFIG_BMC150_ACCEL_I2C
) += bmc150-accel-i2c.o
14 obj-
$(CONFIG_BMC150_ACCEL_SPI
) += bmc150-accel-spi.o
15 obj-
$(CONFIG_DA280
) += da280.o
16 obj-
$(CONFIG_DA311
) += da311.o
17 obj-
$(CONFIG_DMARD06
) += dmard06.o
18 obj-
$(CONFIG_DMARD09
) += dmard09.o
19 obj-
$(CONFIG_DMARD10
) += dmard10.o
20 obj-
$(CONFIG_HID_SENSOR_ACCEL_3D
) += hid-sensor-accel-3d.o
21 obj-
$(CONFIG_KXCJK1013
) += kxcjk-1013.o
22 obj-
$(CONFIG_KXSD9
) += kxsd9.o
23 obj-
$(CONFIG_KXSD9_SPI
) += kxsd9-spi.o
24 obj-
$(CONFIG_KXSD9_I2C
) += kxsd9-i2c.o
25 obj-
$(CONFIG_MC3230
) += mc3230.o
27 obj-
$(CONFIG_MMA7455
) += mma7455_core.o
28 obj-
$(CONFIG_MMA7455_I2C
) += mma7455_i2c.o
29 obj-
$(CONFIG_MMA7455_SPI
) += mma7455_spi.o
31 obj-
$(CONFIG_MMA7660
) += mma7660.o
33 obj-
$(CONFIG_MMA8452
) += mma8452.o
35 obj-
$(CONFIG_MMA9551_CORE
) += mma9551_core.o
36 obj-
$(CONFIG_MMA9551
) += mma9551.o
37 obj-
$(CONFIG_MMA9553
) += mma9553.o
39 obj-
$(CONFIG_MXC4005
) += mxc4005.o
40 obj-
$(CONFIG_MXC6255
) += mxc6255.o
42 obj-
$(CONFIG_SCA3000
) += sca3000.o
44 obj-
$(CONFIG_STK8312
) += stk8312.o
45 obj-
$(CONFIG_STK8BA50
) += stk8ba50.o
47 obj-
$(CONFIG_IIO_CROS_EC_ACCEL_LEGACY
) += cros_ec_accel_legacy.o
49 obj-
$(CONFIG_IIO_SSP_SENSORS_COMMONS
) += ssp_accel_sensor.o
51 obj-
$(CONFIG_IIO_ST_ACCEL_3AXIS
) += st_accel.o
52 st_accel-y
:= st_accel_core.o
53 st_accel-
$(CONFIG_IIO_BUFFER
) += st_accel_buffer.o
55 obj-
$(CONFIG_IIO_ST_ACCEL_I2C_3AXIS
) += st_accel_i2c.o
56 obj-
$(CONFIG_IIO_ST_ACCEL_SPI_3AXIS
) += st_accel_spi.o