lineage_kernel_xcoverpro/drivers/media/platform/exynos/fimc-is2/Makefile

100 lines
4.1 KiB
Makefile
Executable File

fimc-is-objs := fimc-is-core.o \
fimc-is-spi.o \
fimc-is-debug.o \
fimc-is-mem.o \
fimc-is-pipe.o \
fimc-is-framemgr.o \
fimc-is-groupmgr.o \
fimc-is-resourcemgr.o \
fimc-is-devicemgr.o \
fimc-is-video.o \
fimc-is-video-sensor.o \
fimc-is-video-3aa.o \
fimc-is-video-3aac.o \
fimc-is-video-3aap.o \
fimc-is-video-3aaf.o \
fimc-is-video-3aag.o \
fimc-is-video-isp.o \
fimc-is-video-ispc.o \
fimc-is-video-ispp.o \
fimc-is-video-mec.o \
fimc-is-video-dis.o \
fimc-is-video-disc.o \
fimc-is-video-mcs.o \
fimc-is-video-mcsp.o \
fimc-is-video-vra.o \
fimc-is-video-ssvc0.o \
fimc-is-video-ssvc1.o \
fimc-is-video-ssvc2.o \
fimc-is-video-ssvc3.o \
fimc-is-video-pafrdma.o \
fimc-is-subdev-ctrl.o \
fimc-is-device-ischain.o \
fimc-is-time.o \
fimc-is-dvfs.o \
fimc-is-dt.o \
fimc-is-clk-gate.o \
fimc-is-binary.o \
fimc-is-i2c-config.o
obj-$(CONFIG_DCP_V1_0) += fimc-is-video-dcp.o \
fimc-is-video-dcps.o \
fimc-is-video-dcpc.o
ifeq ($(CONFIG_USE_DIRECT_IS_CONTROL),y)
fimc-is-objs += fimc-is-interface-wrap.o
else
fimc-is-objs += fimc-is-interface-wrap-fw.o
fimc-is-objs += fimc-is-interface.o
endif
ifeq ($(CONFIG_USE_SENSOR_GROUP),y)
fimc-is-objs += fimc-is-device-sensor_v2.o
else
fimc-is-objs += fimc-is-device-sensor.o
endif
obj-$(CONFIG_EXYNOS_DEVICE_MIPI_CSIS) += fimc-is-device-csi.o
obj-$(CONFIG_EXYNOS_DEVICE_MIPI_CSIS_VER2) += fimc-is-device-csi_v2.o
obj-$(CONFIG_EXYNOS_DEVICE_MIPI_CSIS_VER3) += fimc-is-device-csi_v3.o
obj-$(CONFIG_EXYNOS_DEVICE_MIPI_CSIS_VER4) += fimc-is-device-csi_v4.o
obj-$(CONFIG_EXYNOS_FIMC_BNS) += fimc-is-device-flite.o
obj-$(CONFIG_VIDEO_EXYNOS_FIMC_IS2) += fimc-is.o
obj-$(CONFIG_VIDEO_EXYNOS_FIMC_IS2) += sensor/
obj-$(CONFIG_VIDEO_EXYNOS_FIMC_IS2) += ischain/
obj-$(CONFIG_VIDEO_EXYNOS_FIMC_IS2) += vendor/
obj-$(CONFIG_VIDEO_EXYNOS_FIMC_IS2) += hardware/
obj-$(CONFIG_VIDEO_EXYNOS_FIMC_IS2) += interface/
obj-$(CONFIG_USE_DIRECT_IS_CONTROL) += hardware/
obj-$(CONFIG_USE_DIRECT_IS_CONTROL) += interface/
subdir-ccflags-y := -Idrivers/media/platform/exynos/fimc-is2
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/include
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/interface
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/hardware
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/hardware/api
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/vendor
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/sensor/csi
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/sensor/module_framework
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/vendor/mcd/preprocessor
subdir-ccflags-$(CONFIG_FIMC_IS_V3_1_1) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v3_1_1
subdir-ccflags-$(CONFIG_FIMC_IS_V3_11_0) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v3_11_0
subdir-ccflags-$(CONFIG_FIMC_IS_V3_20_0) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v3_20_0
subdir-ccflags-$(CONFIG_FIMC_IS_V4_0_0) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v4_0_0
subdir-ccflags-$(CONFIG_FIMC_IS_V4_3_0) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v4_3_0
subdir-ccflags-$(CONFIG_FIMC_IS_V5_10_0) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v5_10_0
subdir-ccflags-$(CONFIG_FIMC_IS_V5_15_0) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v5_15_0
subdir-ccflags-$(CONFIG_FIMC_IS_V5_2_0) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v5_2_0
subdir-ccflags-$(CONFIG_FIMC_IS_V6_0_0) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_0_0
subdir-ccflags-$(CONFIG_FIMC_IS_V6_10_0) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_10_0
subdir-ccflags-$(CONFIG_FIMC_IS_V7_0_0) += -Idrivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v7_0_0
ifeq ($(CONFIG_VENDER_MCD),y)
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/vendor/mcd
else ifeq ($(CONFIG_VENDER_MCD_V2),y)
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/vendor/mcd_v2
else
subdir-ccflags-y += -Idrivers/media/platform/exynos/fimc-is2/vendor/default
endif