Files
chandu078 1438693409 Add 'qcom/opensource/video-driver/' from commit '0df85083e037b1765207f714d385fdcaed8f06d9'
git-subtree-dir: qcom/opensource/video-driver
git-subtree-mainline: c2abafefd9
git-subtree-split: 0df85083e0
2025-08-03 09:24:58 +05:30

21 lines
525 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_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