hardware/intel/libsensors
Revisión | a9bd9b6349f4c0700ff69e6b65717e212d3f7fec (tree) |
---|---|
Tiempo | 2016-05-05 22:59:14 |
Autor | Rob Herring <robh@kern...> |
Commiter | 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>
@@ -35,7 +35,7 @@ src_files := $(src_path)/entry.c \ | ||
35 | 35 | ifeq ($(HAL_AUTODETECT),true) |
36 | 36 | LOCAL_MODULE := iio-sensors-hal |
37 | 37 | else |
38 | -LOCAL_MODULE := sensors.$(TARGET_BOARD_PLATFORM) | |
38 | +LOCAL_MODULE := sensors.iio | |
39 | 39 | endif |
40 | 40 | LOCAL_MODULE_OWNER := intel |
41 | 41 | LOCAL_MODULE_RELATIVE_PATH := hw |
@@ -70,7 +70,7 @@ activity_src_files := $(src_path)/activity_event_entry.c \ | ||
70 | 70 | $(src_path)/discovery.c \ |
71 | 71 | $(src_path)/utils.c \ |
72 | 72 | |
73 | -LOCAL_MODULE := activity_recognition.$(TARGET_BOARD_PLATFORM) | |
73 | +LOCAL_MODULE := activity_recognition.iio | |
74 | 74 | LOCAL_MODULE_OWNER := intel |
75 | 75 | LOCAL_MODULE_RELATIVE_PATH := hw |
76 | 76 | LOCAL_MODULE_TAGS := optional |