Invensense: add opt-in line for the 60xx components
Add opt-in line so devices can sign up to use 60xx components. Prior
to this fix, any device that wasn't a hammerhead, dory, or guppy
defaulted to parsing the 60xx folder's makefiles, regardless of whether
the device had an Invensense chip or not. This was causing anthias builds
to break.
Change-Id: Ifa2c0fb96e985f1c81e1f5631bf53a0662aee978
diff --git a/Android.mk b/Android.mk
index 802eeb1..65c9e4f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -7,7 +7,9 @@
# dory and guppy expect 6515 sensors.
include $(call all-named-subdir-makefiles,6515)
else
-# manta expects 60xx sensors.
+ifneq ($(filter manta grouper tuna mako, $(TARGET_DEVICE)),)
+# manta, grouper, tuna, and mako expect 60xx sensors.
include $(call all-named-subdir-makefiles,60xx)
endif
endif
+endif