summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Weinstein <jake@aospa.co>2022-10-29 02:17:31 +0900
committeralk3pInjection <webmaster@raspii.tech>2023-06-12 20:26:53 +0800
commit8049e9abf60cc2236a10b6ee23d56d2f9f56e63f (patch)
tree1ba63bebd51408d80b5f776f03e35479b8d87776
parent437dfdea21b399d94a232546557f77ce6be75480 (diff)
common: telephony: Use legacy IPA for pre-5.10 devices
Change-Id: Ifcc13f9531e174157852cda0549ec350fc5f67bd
-rw-r--r--telephony/qti-telephony.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/telephony/qti-telephony.mk b/telephony/qti-telephony.mk
index e1c0756..0836fa9 100644
--- a/telephony/qti-telephony.mk
+++ b/telephony/qti-telephony.mk
@@ -30,7 +30,13 @@ $(call inherit-product, vendor/qcom/opensource/dataservices/dataservices_vendor_
SYSTEM_EXT_MANIFEST_FILES += device/qcom/common/telephony/framework_manifest.xml
# IPACM
+ifneq (,$(filter 5.10, $(TARGET_KERNEL_VERSION)))
+PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/data-ipa-cfg-mgr
$(call inherit-product, vendor/qcom/opensource/data-ipa-cfg-mgr/ipacm_vendor_product.mk)
+else
+PRODUCT_SOONG_NAMESPACES += vendor/qcom/opensource/data-ipa-cfg-mgr-legacy
+$(call inherit-product, vendor/qcom/opensource/data-ipa-cfg-mgr-legacy/ipacm_vendor_product.mk)
+endif
# RIL
ENABLE_VENDOR_RIL_SERVICE := true