From 57ab9d031ae8b34a9d7ffb36edfdb8429a27ee28 Mon Sep 17 00:00:00 2001 From: Kuba Wojciechowski Date: Thu, 19 Nov 2020 16:42:13 +0300 Subject: [PATCH] common: guard vendor/qcom/opensource/commonsys-intf includes * non-caf roms don't have that repo causing the whole build to fail because of missing makefiles Signed-off-by: Kuba Wojciechowski Change-Id: Ief11b79e82da639118f64553c22d1e6a1326f282 --- bt/qti-bt.mk | 2 ++ display/qti-display.mk | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bt/qti-bt.mk b/bt/qti-bt.mk index ac9b8ff6..d0e29b3c 100644 --- a/bt/qti-bt.mk +++ b/bt/qti-bt.mk @@ -13,8 +13,10 @@ # limitations under the License. # Include QTI Bluetooth makefiles. +ifeq ($(TARGET_FWK_SUPPORTS_FULL_VALUEADDS),true) include vendor/qcom/opensource/commonsys-intf/bluetooth/bt-commonsys-intf-board.mk $(call inherit-product, vendor/qcom/opensource/commonsys-intf/bluetooth/bt-system-opensource-product.mk) +endif # Permissions PRODUCT_COPY_FILES += \ diff --git a/display/qti-display.mk b/display/qti-display.mk index 866c84f8..ba6db52e 100644 --- a/display/qti-display.mk +++ b/display/qti-display.mk @@ -20,8 +20,10 @@ endif # Include display HAL makefiles. -include hardware/qcom/display/config/display-board.mk -include hardware/qcom/display/config/display-product.mk +ifeq ($(TARGET_FWK_SUPPORTS_FULL_VALUEADDS),true) include vendor/qcom/opensource/commonsys-intf/display/config/display-interfaces-product.mk include vendor/qcom/opensource/commonsys-intf/display/config/display-product-system.mk +endif # Get non-open-source specific aspects $(call inherit-product-if-exists, vendor/qcom/common/display/display-vendor.mk)