
Add compilation checks and compile video driver based on flags. Change-Id: Ia4712b411eb86e0ef7d153ab04461de9c2f909f9 Signed-off-by: Mihir Ganu <quic_mganu@quicinc.com>
13 righe
288 B
Makefile
13 righe
288 B
Makefile
# 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)
|
|
TARGET_VIDC_ENABLE := true
|
|
endif
|
|
|
|
ifeq ($(TARGET_VIDC_ENABLE),true)
|
|
PRODUCT_PACKAGES += msm_video.ko
|
|
endif
|