xref: /openbmc/linux/drivers/macintosh/ams/Makefile (revision d84881e06836dc1655777a592b4279be76ad7324)
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