xref: /openbmc/linux/drivers/iio/humidity/Makefile (revision b2441318)
1*b2441318SGreg 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
9d7ed89d5SSong Hongyanobj-$(CONFIG_HID_SENSOR_HUMIDITY) += hid-sensor-humidity.o
10e4a70e3eSLorenzo Bianconi
11e4a70e3eSLorenzo Bianconihts221-y := hts221_core.o \
12e4a70e3eSLorenzo Bianconi	    hts221_buffer.o
13e4a70e3eSLorenzo Bianconiobj-$(CONFIG_HTS221) += hts221.o
14e4a70e3eSLorenzo Bianconiobj-$(CONFIG_HTS221_I2C) += hts221_i2c.o
15e4a70e3eSLorenzo Bianconiobj-$(CONFIG_HTS221_SPI) += hts221_spi.o
16e4a70e3eSLorenzo Bianconi
172b5c53d2SLudovic Tancerelobj-$(CONFIG_HTU21) += htu21.o
18049973b2SPeter Meerwaldobj-$(CONFIG_SI7005) += si7005.o
19064a7463SDavid Barksdaleobj-$(CONFIG_SI7020) += si7020.o
20d7ed89d5SSong Hongyan
21d7ed89d5SSong Hongyanccflags-y += -I$(srctree)/drivers/iio/common/hid-sensors
22