diff options
author | JP Abgrall <jpa@google.com> | 2012-06-15 23:36:18 -0700 |
---|---|---|
committer | JP Abgrall <jpa@google.com> | 2012-06-15 23:36:18 -0700 |
commit | 7494581689b0fc1d8addd016b1c92d74d01f5ad4 (patch) | |
tree | 682aa496e29e15d7b98f0f4b069e47a019ccef49 /Android.mk | |
parent | 895401859313187f15a800e62d43e6bcbf48fada (diff) | |
download | android_hardware_invensense-7494581689b0fc1d8addd016b1c92d74d01f5ad4.tar.gz android_hardware_invensense-7494581689b0fc1d8addd016b1c92d74d01f5ad4.tar.bz2 android_hardware_invensense-7494581689b0fc1d8addd016b1c92d74d01f5ad4.zip |
HACK: libsensors: Initial attempt at MotionApps 5.1 for MPU6050 + AKM8975
The code in this patch still needs work.
But checking it in will allow other parts of the sensor stack to have
something to work with.
1. Have sensor HAL for IIO driver, which uses MPU6050 + AKM8975 (on 2nd bus).
2. Include MPL binaries (libmllite.so/libmplmpu.so).
3. Include necessary header files.
4. remove light sensor dependency.
5. add missing include file.
6. modify the module name into "manta".
7. remove mlsdk directory.
8. Fix some known issues.
9. Sync up to June.12.
10. Tweak slightly so that it can be used with other sensors on manta and
doesn't break other devices that need a non IIO libsensors.
Change-Id: I0913a6df56fb0e99e9bae9ecc40ab03884d68124
Signed-off-by: Mars Lee <mlee@invensense.com>
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..427bbb4 --- /dev/null +++ b/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 |