Android-x86
Fork

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-intel-libsensors: コミット

hardware/intel/libsensors


コミットメタ情報

リビジョンa9bd9b6349f4c0700ff69e6b65717e212d3f7fec (tree)
日時2016-05-05 22:59:14
作者Rob Herring <robh@kern...>
コミッターRob Herring

ログメッセージ

Android.mk: make the module names generic instead of based on TARGET_BOARD_PLATFORM

Use "iio" for the module name. Platforms using this HAL should set the
properties "ro.hardware.sensors" and "ro.hardware.activity_recognition" to
"iio".

Signed-off-by: Rob Herring <robh@kernel.org>

変更サマリ

差分

--- a/Android.mk
+++ b/Android.mk
@@ -35,7 +35,7 @@ src_files := $(src_path)/entry.c \
3535 ifeq ($(HAL_AUTODETECT),true)
3636 LOCAL_MODULE := iio-sensors-hal
3737 else
38-LOCAL_MODULE := sensors.$(TARGET_BOARD_PLATFORM)
38+LOCAL_MODULE := sensors.iio
3939 endif
4040 LOCAL_MODULE_OWNER := intel
4141 LOCAL_MODULE_RELATIVE_PATH := hw
@@ -70,7 +70,7 @@ activity_src_files := $(src_path)/activity_event_entry.c \
7070 $(src_path)/discovery.c \
7171 $(src_path)/utils.c \
7272
73-LOCAL_MODULE := activity_recognition.$(TARGET_BOARD_PLATFORM)
73+LOCAL_MODULE := activity_recognition.iio
7474 LOCAL_MODULE_OWNER := intel
7575 LOCAL_MODULE_RELATIVE_PATH := hw
7676 LOCAL_MODULE_TAGS := optional
旧リポジトリブラウザで表示