Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libsensors: Commit

hardware/libsensors


Commit MetaInfo

Révision9026bbd5ede9b110e4b35919ce7820b314bc96d1 (tree)
l'heure2017-12-29 15:28:27
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

Disable my sensors.iio

Switch to android-iio-sensors-hal of 01.org.

Change Summary

Modification

--- a/Android.mk
+++ b/Android.mk
@@ -14,6 +14,7 @@ LOCAL_SRC_FILES := hdaps.c
1414 LOCAL_CFLAGS := -Wno-unused-parameter
1515 include $(BUILD_SHARED_LIBRARY)
1616
17+ifeq ($(USE_MY_SENSORS_IIO),true)
1718 include $(CLEAR_VARS)
1819 LOCAL_SHARED_LIBRARIES := liblog libcutils
1920 LOCAL_MODULE := sensors.iio
@@ -21,6 +22,7 @@ LOCAL_MODULE_TAGS := optional
2122 LOCAL_MODULE_RELATIVE_PATH := hw
2223 LOCAL_SRC_FILES := iio-sensors.cpp
2324 include $(BUILD_SHARED_LIBRARY)
25+endif
2426
2527 include $(CLEAR_VARS)
2628 LOCAL_PRELINK_MODULE := false
--- /dev/null
+++ b/CleanSpec.mk
@@ -0,0 +1 @@
1+$(call add-clean-step, rm -f $(TARGET_OUT)/lib*/hw/sensors.*)
Afficher sur ancien navigateur de dépôt.