summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ams/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ams/Makefile')
-rw-r--r--drivers/hwmon/ams/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hwmon/ams/Makefile b/drivers/hwmon/ams/Makefile
new file mode 100644
index 000000000000..41c95b2089dc
--- /dev/null
+++ b/drivers/hwmon/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
OpenPOWER on IntegriCloud