diff options
author | Arian <arian.kulmer@web.de> | 2020-04-10 00:24:29 +0200 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2020-04-10 00:25:47 +0200 |
commit | f42873edf04e4b4d32802b42c08d8bc866932c96 (patch) | |
tree | 3d112eafec4ea76697db6ef7bbd7ffcf768da9a5 | |
parent | deac3ffd4e730a92b6bb36c5d01bf6d5e98d6aa6 (diff) | |
download | vendor_qcom_opensource_power-f42873edf04e4b4d32802b42c08d8bc866932c96.tar.gz vendor_qcom_opensource_power-f42873edf04e4b4d32802b42c08d8bc866932c96.tar.bz2 vendor_qcom_opensource_power-f42873edf04e4b4d32802b42c08d8bc866932c96.zip |
power: Add the custom set_feature lib as whole static librarylineage-17.1
* When using LOCAL_STATIC_LIBRARIES linker removes functions that it considers as unused, which may result in removing the set_device_specific_feature void from the set_feature lib.
* Work this around by adding the whole static library and by that skipping the removement of maybe unused functions.
Change-Id: I9be9323b19c16e92f66ef5802e443a9484146ee9
-rw-r--r-- | Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ endif endif # End of board specific list ifneq ($(TARGET_POWER_SET_FEATURE_LIB),) - LOCAL_STATIC_LIBRARIES += $(TARGET_POWER_SET_FEATURE_LIB) + LOCAL_WHOLE_STATIC_LIBRARIES += $(TARGET_POWER_SET_FEATURE_LIB) endif ifneq ($(TARGET_POWERHAL_SET_INTERACTIVE_EXT),) |