# SPDX-License-Identifier: GPL-2.0-only
#
# Makefile for Apple Motion Sensor driver
#
ams-y := ams-core.o ams-input.o
ams-$([31mCONFIG_SENSORS_AMS_PMU[0m) += ams-pmu.o
ams-$([31mCONFIG_SENSORS_AMS_I2C[0m) += ams-i2c.o
obj-$([31mCONFIG_SENSORS_AMS[0m) += ams.o