qcom: Prepare for non-legacy dataservices

All platforms prior to kalama must use the old rmnet_data driver.

Change-Id: I1dd5e25cdac35bf0e95da004763f58e5590c94ad
This commit is contained in:
Bruno Martins
2023-05-23 11:43:57 +01:00
parent fa1664c6dc
commit 5c77946246

View File

@@ -88,6 +88,16 @@ SOONG_CONFIG_qtidisplay_var1 ?= false
SOONG_CONFIG_qtidisplay_var2 ?= false
SOONG_CONFIG_qtidisplay_var3 ?= false
# Add rmnetctl to soong config namespaces
SOONG_CONFIG_NAMESPACES += rmnetctl
# Add supported variables to rmnetctl config
SOONG_CONFIG_rmnetctl += \
old_rmnet_data
# Set default values for rmnetctl config
SOONG_CONFIG_rmnetctl_old_rmnet_data ?= false
# Tell HALs that we're compiling an AOSP build with an in-line kernel
TARGET_COMPILE_WITH_MSM_KERNEL := true
@@ -137,6 +147,11 @@ endif
# List of targets that use master side content protection
MASTER_SIDE_CP_TARGET_LIST := msm8996 $(UM_4_4_FAMILY) $(UM_4_9_FAMILY) $(UM_4_14_FAMILY) $(UM_4_19_FAMILY)
# Opt-in for old rmnet_data driver
ifeq ($(filter $(UM_5_15_FAMILY),$(TARGET_BOARD_PLATFORM)),)
SOONG_CONFIG_rmnetctl_old_rmnet_data := true
endif
# Use full QTI gralloc struct for GKI 2.0 targets
ifneq ($(filter $(UM_5_10_FAMILY) $(UM_5_15_FAMILY),$(TARGET_BOARD_PLATFORM)),)
TARGET_GRALLOC_HANDLE_HAS_CUSTOM_CONTENT_MD_RESERVED_SIZE ?= true