android_kernel_samsung_sm86.../qcom/opensource/video-driver/video_kernel_board.mk
David Wronek f1b172d58b Add 'qcom/opensource/video-driver/' from commit 'd0f80c27eee09bc53817f8cfd085691c88989c7e'
git-subtree-dir: qcom/opensource/video-driver
git-subtree-mainline: e44c5532de
git-subtree-split: d0f80c27ee
Change-Id:
repo: https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver
tag: VIDEO.LA.4.0.r2-06100-lanai.0
2024-10-06 16:45:47 +02:00

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