summaryrefslogtreecommitdiffstats
path: root/60xx/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to '60xx/Android.mk')
-rw-r--r--60xx/Android.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/60xx/Android.mk b/60xx/Android.mk
new file mode 100644
index 0000000..427bbb4
--- /dev/null
+++ b/60xx/Android.mk
@@ -0,0 +1,8 @@
+# Can't have both manta and non-manta libsensors.
+ifneq ($(filter manta, $(TARGET_DEVICE)),)
+# libsensors_iio expects IIO drivers for an MPU6050+AK8963 which are only available on manta.
+include $(call all-named-subdir-makefiles,libsensors_iio)
+else
+# libsensors expects an non-IIO MPU3050.
+include $(call all-named-subdir-makefiles,mlsdk libsensors)
+endif