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