summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsundarajan srinivasan <ssrinivasan@cyngn.com>2016-05-12 12:04:24 -0700
committersundarajan srinivasan <ssrinivasan@cyngn.com>2016-05-12 12:04:24 -0700
commit98cc547ac1d90ceab8b67ba6c05277b001b40418 (patch)
treee47e169b1107ae13aa7dc5548c2e39479e8194cc
parentcb871446589029c6ab94829c610f668cb3aee6d9 (diff)
downloadandroid_hardware_invensense-stable/cm-13.0-ZNH2K.tar.gz
android_hardware_invensense-stable/cm-13.0-ZNH2K.tar.bz2
android_hardware_invensense-stable/cm-13.0-ZNH2K.zip
invensense: Use sensor HAL only if device specific HAL is not presentstable/cm-13.0-ZNH2KBstable/cm-13.0-ZNH2K
Use sensor HAL only if device specific sensor HAL is not used. Change-Id: Iecf75af0110032742227cc062265d287dbead672
-rw-r--r--Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 65c9e4f..e58eb83 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,4 +1,5 @@
# Can't have both 65xx and 60xx sensors.
+ifneq ($(strip $(USE_DEVICE_SPECIFIC_SENSORS)),true)
ifneq ($(filter hammerhead, $(TARGET_DEVICE)),)
# hammerhead expects 65xx sensors.
include $(call all-named-subdir-makefiles,65xx)
@@ -13,3 +14,4 @@ include $(call all-named-subdir-makefiles,60xx)
endif
endif
endif
+endif