video: driver: use QMAA flags for video driver compilation

Control video driver compilation based on QMAA flags.

Change-Id: I2cac1184538a7e7c0ef5c17eece59fd3f9e5b727
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
This commit is contained in:
Maheshwar Ajja
2021-10-07 18:05:04 -07:00
gecommit door Mahesh Kumar Sharma
bovenliggende b0542cb78c
commit e3ea015659
3 gewijzigde bestanden met toevoegingen van 12 en 0 verwijderingen

Bestand weergeven

@@ -1,5 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
ifeq ($(TARGET_USES_QMAA),false)
ifeq ($(TARGET_USES_QMAA_OVERRIDE_VIDEO),true)
VIDEO_BLD_DIR := $(shell pwd)/vendor/qcom/opensource/video-driver
VIDEO_SELECT := CONFIG_MSM_VIDC_V4L2=m
@@ -34,3 +36,5 @@ LOCAL_ADDITIONAL_DEPENDENCIES := $(call intermediates-dir-for,DLKM,mmrm-module-s
# Include kp_module.ko in the /vendor/lib/modules (vendor.img)
# BOARD_VENDOR_KERNEL_MODULES += $(LOCAL_MODULE_PATH)/$(LOCAL_MODULE)
include $(DLKM_DIR)/Build_external_kernelmodule.mk
endif
endif