video: use DLKM flag instead of QMAA flag to compile driver

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>
This commit is contained in:
Maheshwar Ajja
2022-05-25 13:33:57 -07:00
parent 78615ba9fc
commit 76281289b4
3 changed files with 15 additions and 12 deletions

View File

@@ -1,9 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-only
TARGET_VIDC_ENABLE := false
ifeq ($(TARGET_USES_QMAA),false)
TARGET_VIDC_ENABLE := true
endif
ifeq ($(TARGET_USES_QMAA_OVERRIDE_VIDEO),true)
ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
ifeq ($(TARGET_KERNEL_DLKM_VIDEO_OVERRIDE), true)
TARGET_VIDC_ENABLE := true
endif
else
TARGET_VIDC_ENABLE := true
endif

View File

@@ -1,9 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-only
TARGET_VIDC_ENABLE := false
ifeq ($(TARGET_USES_QMAA),false)
TARGET_VIDC_ENABLE := true
endif
ifeq ($(TARGET_USES_QMAA_OVERRIDE_VIDEO),true)
ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
ifeq ($(TARGET_KERNEL_DLKM_VIDEO_OVERRIDE), true)
TARGET_VIDC_ENABLE := true
endif
else
TARGET_VIDC_ENABLE := true
endif

View File

@@ -1,9 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-only
TARGET_VIDC_ENABLE := false
ifeq ($(TARGET_USES_QMAA),false)
TARGET_VIDC_ENABLE := true
endif
ifeq ($(TARGET_USES_QMAA_OVERRIDE_VIDEO),true)
ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
ifeq ($(TARGET_KERNEL_DLKM_VIDEO_OVERRIDE), true)
TARGET_VIDC_ENABLE := true
endif
else
TARGET_VIDC_ENABLE := true
endif