Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 22eb16e2 authored by SGCMarkus's avatar SGCMarkus Committed by Michael Bestas
Browse files

qcom: Include vendor/qcom/opensource/display namespace only for <5.10 platforms

hardware/qcom-caf/sm8450/display contains its own copies of
* libgralloc.qti
* libqdMetaData
* libdisplayconfig.qti

Including this namespace too, results in a module already defined error

Change-Id: I7d5c861307f4d517d5b53c6444897a4b90f0095e
parent 27409112
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -166,10 +166,15 @@ PRODUCT_SOONG_NAMESPACES += $(QCOM_SOONG_NAMESPACE)
ifneq ($(filter $(QSSI_SUPPORTED_PLATFORMS),$(TARGET_BOARD_PLATFORM)),)
PRODUCT_SOONG_NAMESPACES += \
    vendor/qcom/opensource/commonsys/display \
    vendor/qcom/opensource/commonsys-intf/display \
    vendor/qcom/opensource/commonsys-intf/display

ifeq ($(filter $(UM_5_10_FAMILY),$(TARGET_BOARD_PLATFORM)),)
PRODUCT_SOONG_NAMESPACES += \
    vendor/qcom/opensource/display
endif

endif

# Add data-ipa-cfg-mgr to PRODUCT_SOONG_NAMESPACES if needed
ifneq ($(USE_DEVICE_SPECIFIC_DATA_IPA_CFG_MGR),true)
    ifneq ($(filter $(LEGACY_UM_PLATFORMS),$(TARGET_BOARD_PLATFORM)),)