| GCC_VERSION := $(shell $(CONFIG_SHELL) $(PWD)/scripts/gcc-version.sh $(CROSS_COMPILE)gcc) |
| |
| ccflags-y += -Idrivers/media/video/msm/io |
| ccflags-y += -Idrivers/media/video/msm/vfe |
| obj-$(CONFIG_MSM_CAMERA) += io/ |
| ifeq ($(CONFIG_MSM_CAMERA_V4L2),y) |
| EXTRA_CFLAGS += -Idrivers/media/video/msm/cci |
| EXTRA_CFLAGS += -Idrivers/media/video/msm/csi |
| EXTRA_CFLAGS += -Idrivers/media/video/msm/eeprom |
| EXTRA_CFLAGS += -Idrivers/media/video/msm/sensors |
| EXTRA_CFLAGS += -Idrivers/media/video/msm/actuators |
| EXTRA_CFLAGS += -Idrivers/media/video/msm/server |
| EXTRA_CFLAGS += -Idrivers/media/video/msm/flash |
| obj-$(CONFIG_MSM_CAMERA) += msm_isp.o msm.o msm_mem.o msm_mctl.o msm_mctl_buf.o msm_mctl_pp.o |
| obj-$(CONFIG_MSM_CAMERA) += server/ |
| obj-$(CONFIG_MSM_CAM_IRQ_ROUTER) += msm_camirq_router.o |
| obj-$(CONFIG_MSM_CAMERA) += cci/ eeprom/ sensors/ actuators/ csi/ |
| obj-$(CONFIG_MSM_CPP) += cpp/ |
| obj-$(CONFIG_MSM_CAMERA) += msm_gesture.o |
| obj-$(CONFIG_MSM_CAMERA) += flash/ |
| else |
| obj-$(CONFIG_MSM_CAMERA) += msm_camera.o |
| endif |
| obj-$(CONFIG_MSM_CAMERA) += vfe/ |
| obj-$(CONFIG_MSM_CAMERA) += msm_axi_qos.o gemini/ mercury/ jpeg_10/ |
| ifeq ($(CONFIG_MSM_CAMERA_V4L2),y) |
| obj-$(CONFIG_ARCH_MSM8X60) += msm_vpe.o |
| obj-$(CONFIG_ARCH_MSM7X30) += msm_vpe.o msm_axi_qos.o |
| else |
| obj-$(CONFIG_ARCH_MSM8X60) += msm_vpe1.o |
| obj-$(CONFIG_ARCH_MSM7X30) += msm_vpe1.o |
| endif |
| obj-$(CONFIG_ARCH_MSM8960) += msm_vpe.o |
| obj-$(CONFIG_MT9T013) += mt9t013.o mt9t013_reg.o |
| obj-$(CONFIG_SN12M0PZ) += sn12m0pz.o sn12m0pz_reg.o |
| obj-$(CONFIG_MT9P012) += mt9p012_reg.o |
| obj-$(CONFIG_MSM_CAMERA_AF_FOXCONN) += mt9p012_fox.o |
| obj-$(CONFIG_MSM_CAMERA_AF_BAM) += mt9p012_bam.o |
| obj-$(CONFIG_MT9P012_KM) += mt9p012_km.o mt9p012_km_reg.o |
| obj-$(CONFIG_S5K3E2FX) += s5k3e2fx.o |
| #FIXME: Merge the two ifeq causes VX6953 preview not coming up. |
| ifneq ($(CONFIG_MSM_CAMERA_V4L2),y) |
| obj-$(CONFIG_VX6953) += vx6953.o vx6953_reg.o |
| obj-$(CONFIG_IMX074) += imx074.o imx074_reg.o |
| obj-$(CONFIG_MT9E013) += mt9e013.o mt9e013_reg.o |
| obj-$(CONFIG_WEBCAM_OV9726) += ov9726.o ov9726_reg.o |
| obj-$(CONFIG_OV5647) += ov5647.o ov5647_reg.o |
| obj-$(CONFIG_S5K4E1) += s5k4e1.o s5k4e1_reg.o |
| obj-$(CONFIG_WEBCAM_OV7692) += ov7692.o |
| obj-$(CONFIG_WEBCAM_OV7692_QRD) += ov7692_qrd.o |
| endif |
| obj-$(CONFIG_QS_S5K4E1) += qs_s5k4e1.o qs_s5k4e1_reg.o |
| obj-$(CONFIG_VB6801) += vb6801.o |
| obj-$(CONFIG_IMX072) += imx072.o imx072_reg.o |
| obj-$(CONFIG_OV5640) += ov5640.o |
| obj-$(CONFIG_MT9D112) += mt9d112.o mt9d112_reg.o |
| |
| obj-$(CONFIG_MT9D113) += mt9d113.o mt9d113_reg.o |
| obj-$(CONFIG_MSM_V4L2_VIDEO_OVERLAY_DEVICE) += msm_v4l2_video.o |