xref: /openbmc/linux/drivers/macintosh/ams/Makefile (revision c83eeec79ff64f777cbd59a8bd15d0a3fe1f92c0)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Makefile for Apple Motion Sensor driver
4#
5
6ams-y					:= ams-core.o ams-input.o
7ams-$(CONFIG_SENSORS_AMS_PMU)		+= ams-pmu.o
8ams-$(CONFIG_SENSORS_AMS_I2C)		+= ams-i2c.o
9obj-$(CONFIG_SENSORS_AMS)		+= ams.o
10