summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/macintosh/ams/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/macintosh/ams/Makefile')
-rw-r--r--kernel/drivers/macintosh/ams/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/drivers/macintosh/ams/Makefile b/kernel/drivers/macintosh/ams/Makefile
new file mode 100644
index 000000000..41c95b208
--- /dev/null
+++ b/kernel/drivers/macintosh/ams/Makefile
@@ -0,0 +1,8 @@
+#
+# Makefile for Apple Motion Sensor driver
+#
+
+ams-y := ams-core.o ams-input.o
+ams-$(CONFIG_SENSORS_AMS_PMU) += ams-pmu.o
+ams-$(CONFIG_SENSORS_AMS_I2C) += ams-i2c.o
+obj-$(CONFIG_SENSORS_AMS) += ams.o