msm: camera: cpas: Add support for Parrot Camera

Parrot has different version of CPAS which requires
camnoc interface changes and CPAS version change.
This change adds the same.

CRs-Fixed: 3081144
Change-Id: Icf39e12d3af8518471b093c860888df05af279b7
Signed-off-by: Alok Pandey <akumarpa@codeaurora.org>
This commit is contained in:
Alok Pandey
2021-11-19 14:30:19 +05:30
committed by Gerrit - the friendly Code Review server
parent c4b93c74bf
commit 9dd2955dc9
8 changed files with 611 additions and 1 deletions

View File

@@ -15,6 +15,10 @@ ifeq ($(TARGET_BOARD_PLATFORM), taro)
KBUILD_OPTIONS += KBUILD_EXTRA_SYMBOLS=$(shell pwd)/$(call intermediates-dir-for,DLKM,mmrm-module-symvers)/Module.symvers
endif
ifeq ($(TARGET_BOARD_PLATFORM), parrot)
KBUILD_OPTIONS += KBUILD_EXTRA_SYMBOLS=$(shell pwd)/$(call intermediates-dir-for,DLKM,mmrm-module-symvers)/Module.symvers
endif
# Clear shell environment variables from previous android module during build
include $(CLEAR_VARS)
# For incremental compilation support.
@@ -38,6 +42,11 @@ ifeq ($(TARGET_BOARD_PLATFORM), taro)
LOCAL_ADDITIONAL_DEPENDENCIES := $(call intermediates-dir-for,DLKM,mmrm-module-symvers)/Module.symvers
endif
ifeq ($(TARGET_BOARD_PLATFORM), parrot)
LOCAL_REQUIRED_MODULES := mmrm-module-symvers
LOCAL_ADDITIONAL_DEPENDENCIES := $(call intermediates-dir-for,DLKM,mmrm-module-symvers)/Module.symvers
endif
ifeq ($(TARGET_BOARD_PLATFORM), lahaina)
# Include Kernel DLKM Android.mk target to place generated .ko file in image
include $(DLKM_DIR)/AndroidKernelModule.mk