git-subtree-dir: qcom/opensource/video-driver git-subtree-mainline:c2abafefd9git-subtree-split:0df85083e0
21 lines
525 B
Makefile
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
|