From 5ac5b3d85fcded7d31bb3b2826f5f4852e419ef6 Mon Sep 17 00:00:00 2001 From: Venkata Rao Kakani Date: Wed, 26 May 2021 19:21:48 +0530 Subject: [PATCH] techpack: ais: Compile ais only for QGKI Enable AIS drivers ONLY for QGKI & DEBUG. Change-Id: I21d70a4588213de324a04a5817efd9f72f588509 Signed-off-by: Venkata Rao Kakani --- config/hanacamera.conf | 2 ++ config/hanagvmcamera.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config/hanacamera.conf b/config/hanacamera.conf index 889bdc24..53e75525 100755 --- a/config/hanacamera.conf +++ b/config/hanacamera.conf @@ -1,8 +1,10 @@ # SPDX-License-Identifier: GPL-2.0-only # Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. +ifeq ($(CONFIG_QGKI), y) export CONFIG_MSM_AIS=y export CONFIG_MSM_AIS_UTIL=y export CONFIG_MSM_AIS_UTIL_METAL=y export CONFIG_MSM_AIS_UTIL_COMMON=y export CONFIG_V4L2_LOOPBACK_V2=y +endif diff --git a/config/hanagvmcamera.conf b/config/hanagvmcamera.conf index 3eccb068..36eda46a 100755 --- a/config/hanagvmcamera.conf +++ b/config/hanagvmcamera.conf @@ -1,6 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-only # Copyright (c) 2021, The Linux Foundation. All rights reserved. +ifeq ($(CONFIG_QGKI), y) export CONFIG_V4L2_LOOPBACK_V2=y export CONFIG_MSM_AIS_UTIL=y export CONFIG_MSM_AIS_UTIL_COMMON=y +endif