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