msm: camera: common: Use CAMERA DLK override for compilation
To be able to disable camera compilation on newer targets, use DLKM_CAMERA_OVERRIDE in camera makefiles to control compilation. CRs-Fixed: 3219745 Change-Id: Iaf9518457a690554aca21fc1c6ebb3324d0dac46 Signed-off-by: Pavan Kumar Chilamkurthi <quic_pchilamk@quicinc.com>
这个提交包含在:

提交者
Camera Software Integration

父节点
0aba35317b
当前提交
10668ff0e6
@@ -1,3 +1,11 @@
|
||||
CAMERA_DLKM_ENABLED := true
|
||||
ifeq ($(TARGET_KERNEL_DLKM_DISABLE), true)
|
||||
ifeq ($(TARGET_KERNEL_DLKM_CAMERA_OVERRIDE), false)
|
||||
CAMERA_DLKM_ENABLED := false;
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CAMERA_DLKM_ENABLED),true)
|
||||
ifeq ($(call is-board-platform-in-list, $(TARGET_BOARD_PLATFORM)),true)
|
||||
|
||||
# Make target to specify building the camera.ko from within Android build system.
|
||||
@@ -48,3 +56,4 @@ include $(DLKM_DIR)/Build_external_kernelmodule.mk
|
||||
endif
|
||||
|
||||
endif # End of check for board platform
|
||||
endif # ifeq ($(CAMERA_DLKM_ENABLED),true)
|
||||
|
在新工单中引用
屏蔽一个用户