summaryrefslogtreecommitdiffstats
path: root/libsensors
diff options
context:
space:
mode:
authorKyle Repinski <repinski23@gmail.com>2015-10-12 18:00:22 -0500
committerZiyan <jaraidaniel@gmail.com>2016-01-17 20:19:38 +0100
commit59acde2467e57965536cbd34ce625ad097ad13f5 (patch)
tree49c63885e86e4a268daa19ea64af1885c4dbda7e /libsensors
parent058df47385dc1afe426247333560b66df334db7a (diff)
downloaddevice_samsung_tuna-59acde2467e57965536cbd34ce625ad097ad13f5.tar.gz
device_samsung_tuna-59acde2467e57965536cbd34ce625ad097ad13f5.tar.bz2
device_samsung_tuna-59acde2467e57965536cbd34ce625ad097ad13f5.zip
Add invensense stuff in-tree.
Overhauled its .mk files as well as fixed some whitespace problems. Conflicts: libsensors/Android.mk
Diffstat (limited to 'libsensors')
-rw-r--r--libsensors/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsensors/Android.mk b/libsensors/Android.mk
index 0382254..5f15228 100644
--- a/libsensors/Android.mk
+++ b/libsensors/Android.mk
@@ -26,7 +26,7 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := -DLOG_TAG=\"Sensors\"
-LOCAL_C_INCLUDES += hardware/invensense/60xx/libsensors
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/../invensense/libinvensense_hal/
LOCAL_SRC_FILES := \
sensors.cpp \
InputEventReader.cpp \
@@ -36,7 +36,7 @@ LOCAL_SRC_FILES := \
SamsungSensorBase.cpp \
TemperatureSensor.cpp
-LOCAL_SHARED_LIBRARIES := libinvensense_hal liblog libcutils libutils libdl
+LOCAL_SHARED_LIBRARIES := libinvensense_hal.$(TARGET_BOOTLOADER_BOARD_NAME) liblog libcutils libutils libdl
LOCAL_CLANG := true
include $(BUILD_SHARED_LIBRARY)