xref: /openbmc/linux/drivers/iio/humidity/Makefile (revision 0115a63c)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2091a121bSHarald Geyer#
3091a121bSHarald Geyer# Makefile for IIO humidity sensor drivers
4091a121bSHarald Geyer#
5091a121bSHarald Geyer
6366a3270STiberiu Breanaobj-$(CONFIG_AM2315) += am2315.o
7091a121bSHarald Geyerobj-$(CONFIG_DHT11) += dht11.o
84839367dSMatt Ranostayobj-$(CONFIG_HDC100X) += hdc100x.o
90115a63cSEugene Zaikonnikovobj-$(CONFIG_HDC2010) += hdc2010.o
10d7ed89d5SSong Hongyanobj-$(CONFIG_HID_SENSOR_HUMIDITY) += hid-sensor-humidity.o
11e4a70e3eSLorenzo Bianconi
12e4a70e3eSLorenzo Bianconihts221-y := hts221_core.o \
13e4a70e3eSLorenzo Bianconi	    hts221_buffer.o
14e4a70e3eSLorenzo Bianconiobj-$(CONFIG_HTS221) += hts221.o
15e4a70e3eSLorenzo Bianconiobj-$(CONFIG_HTS221_I2C) += hts221_i2c.o
16e4a70e3eSLorenzo Bianconiobj-$(CONFIG_HTS221_SPI) += hts221_spi.o
17e4a70e3eSLorenzo Bianconi
182b5c53d2SLudovic Tancerelobj-$(CONFIG_HTU21) += htu21.o
19049973b2SPeter Meerwaldobj-$(CONFIG_SI7005) += si7005.o
20064a7463SDavid Barksdaleobj-$(CONFIG_SI7020) += si7020.o
21d7ed89d5SSong Hongyan
22d7ed89d5SSong Hongyanccflags-y += -I$(srctree)/drivers/iio/common/hid-sensors
23