common: only inherit display HAL makefiles if we build vendor

Change-Id: I3e732809feb2f1a34830095fdce97c55cfc63d74
This commit is contained in:
Anay Wadhera 2020-10-22 23:39:25 -07:00
parent 479952c641
commit b5a67f570a
1 changed files with 2 additions and 0 deletions

View File

@ -18,8 +18,10 @@ $(error "TARGET_BOARD_PLATFORM is not defined yet. Please define in your device
endif
# Include display HAL makefiles.
ifneq ($(BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE),)
include hardware/qcom/display/config/display-board.mk
include hardware/qcom/display/config/display-product.mk
endif
include vendor/qcom/opensource/commonsys-intf/display/config/display-interfaces-product.mk
include vendor/qcom/opensource/commonsys-intf/display/config/display-product-system.mk