GNU Linux-libre 4.14.290-gnu1
[releases.git] / drivers / staging / media / atomisp / i2c / imx / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_VIDEO_IMX) += imx1x5.o
3
4 imx1x5-objs := imx.o drv201.o ad5816g.o dw9714.o dw9719.o dw9718.o vcm.o otp.o otp_imx.o otp_brcc064_e2prom.o otp_e2prom.o
5
6 ov8858_driver-objs := ../ov8858.o dw9718.o vcm.o
7 obj-$(CONFIG_VIDEO_OV8858)     += ov8858_driver.o
8
9 # HACK! While this driver is in bad shape, don't enable several warnings
10 #       that would be otherwise enabled with W=1
11 ccflags-y += $(call cc-disable-warning, unused-but-set-variable)
12 ccflags-y += $(call cc-disable-warning, unused-const-variable)
13 ccflags-y += $(call cc-disable-warning, missing-prototypes)
14 ccflags-y += $(call cc-disable-warning, missing-declarations)