1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for IIO humidity sensor drivers
6 obj-
$(CONFIG_AM2315
) += am2315.o
7 obj-
$(CONFIG_DHT11
) += dht11.o
8 obj-
$(CONFIG_HDC100X
) += hdc100x.o
9 obj-
$(CONFIG_HDC2010
) += hdc2010.o
10 obj-
$(CONFIG_HID_SENSOR_HUMIDITY
) += hid-sensor-humidity.o
12 hts221-y
:= hts221_core.o \
14 obj-
$(CONFIG_HTS221
) += hts221.o
15 obj-
$(CONFIG_HTS221_I2C
) += hts221_i2c.o
16 obj-
$(CONFIG_HTS221_SPI
) += hts221_spi.o
18 obj-
$(CONFIG_HTU21
) += htu21.o
19 obj-
$(CONFIG_SI7005
) += si7005.o
20 obj-
$(CONFIG_SI7020
) += si7020.o
22 ccflags-y
+= -I
$(srctree
)/drivers
/iio
/common
/hid-sensors