summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2020-04-10 00:24:29 +0200
committerArian <arian.kulmer@web.de>2020-04-10 00:25:47 +0200
commitf42873edf04e4b4d32802b42c08d8bc866932c96 (patch)
tree3d112eafec4ea76697db6ef7bbd7ffcf768da9a5
parentdeac3ffd4e730a92b6bb36c5d01bf6d5e98d6aa6 (diff)
downloadvendor_qcom_opensource_power-f42873edf04e4b4d32802b42c08d8bc866932c96.zip
vendor_qcom_opensource_power-f42873edf04e4b4d32802b42c08d8bc866932c96.tar.gz
vendor_qcom_opensource_power-f42873edf04e4b4d32802b42c08d8bc866932c96.tar.bz2
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.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 9fe5f27..e9a196a 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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),)