
Use TARGET_KERNEL_DLKM_DISABLE and TARGET_KERNEL_DLKM_VIDEO_OVERRIDE to compile video driver. Change-Id: Id824aac78c4c0ce856ba1c92ab1bda4e679475cc Signed-off-by: Maheshwar Ajja <quic_majja@quicinc.com>
23 lignes
574 B
Makefile
23 lignes
574 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
TARGET_VIDC_ENABLE := false
|
|
ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
|
|
ifeq ($(TARGET_KERNEL_DLKM_VIDEO_OVERRIDE), true)
|
|
TARGET_VIDC_ENABLE := true
|
|
endif
|
|
else
|
|
TARGET_VIDC_ENABLE := true
|
|
endif
|
|
|
|
# Build video kernel driver
|
|
ifeq ($(TARGET_VIDC_ENABLE),true)
|
|
ifneq ($(TARGET_KERNEL_DLKM_DISABLE),true)
|
|
ifneq ($(TARGET_BOARD_AUTO),true)
|
|
ifeq ($(call is-board-platform-in-list,$(TARGET_BOARD_PLATFORM)),true)
|
|
BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/msm_video.ko
|
|
|
|
BUILD_VIDEO_TECHPACK_SOURCE := true
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|