-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKbuild
27 lines (23 loc) · 940 Bytes
/
Kbuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Support GKI mixed build
ifeq ($(DEVICE_MODULES_PATH),)
DEVICE_MODULES_PATH = $(srctree)
else
LINUXINCLUDE := $(DEVCIE_MODULES_INCLUDE) $(LINUXINCLUDE)
endif
KO_MTKCAM_CODE_PATH := $(if $(filter /%,$(src)),,$(srctree)/)$(src)
KO_MTKCAM_INCLUDE_PATH := $(KO_MTKCAM_CODE_PATH)/include
$(info DEVICE_MODULES_PATH=$(DEVICE_MODULES_PATH) LINUXINCLUDE=$(LINUXINCLUDE))
$(info KO_MTKCAM_CODE_PATH=$(KO_MTKCAM_CODE_PATH))
$(info KO_MTKCAM_INCLUDE_PATH=$(KO_MTKCAM_INCLUDE_PATH))
subdir-ccflags-y += -I$(KO_MTKCAM_CODE_PATH)/ -I$(KO_MTKCAM_INCLUDE_PATH)/
obj-y += camsys/
obj-m += scpsys/
obj-m += cam_cal/
obj-$(CONFIG_VIDEO_MTK_ISP_IMGSYS) += imgsys/
obj-$(CONFIG_VIDEO_MTK_ISP_HCP) += mtk-hcp/
obj-$(CONFIG_VIDEO_MTK_ISP_IMGSYS) += mtk-ipesys-me/
obj-$(CONFIG_MTK_CAMERA_FD_ISP7S_ISP7SP) += mtk-aie/
obj-$(CONFIG_MTK_CAMERA_DPE_ISP7SP) += mtk-dpe/
obj-$(CONFIG_MTK_C2PS) += sched/
obj-y += imgsensor/
obj-$(CONFIG_MTK_CCU_RPROC) += ccusys/