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