From 59acde2467e57965536cbd34ce625ad097ad13f5 Mon Sep 17 00:00:00 2001 From: Kyle Repinski Date: Mon, 12 Oct 2015 18:00:22 -0500 Subject: Add invensense stuff in-tree. Overhauled its .mk files as well as fixed some whitespace problems. Conflicts: libsensors/Android.mk --- libsensors/Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libsensors') 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) -- cgit v1.1