disp: enable display driver compilation in vendor SI

This change adds required make file support to include
display driver in vendor SI compilation and packaging.

Change-Id: Ib7b97ac136b536da9a297f1a3725ff4b2107e2ed
Signed-off-by: Prabhanjan Kandula <pkandula@codeaurora.org>
This commit is contained in:
Prabhanjan Kandula 2020-12-21 15:54:36 -08:00 committed by Gerrit - the friendly Code Review server
parent 77f7be6b12
commit 2837d90418
2 changed files with 10 additions and 0 deletions

7
display_driver_board.mk Normal file
View File

@ -0,0 +1,7 @@
#SPDX-License-Identifier: GPL-2.0-only
ifneq ($(TARGET_BOARD_AUTO),true)
ifeq ($(call is-board-platform-in-list,$(TARGET_BOARD_PLATFORM)),true)
BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/msm_drm.ko
endif
endif

View File

@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
PRODUCT_PACKAGES += msm_drm.ko