video: adf: Fix modular build
[firefly-linux-kernel-4.4.55.git] / drivers / video / adf / Makefile
1 ccflags-y := -Idrivers/staging/android
2
3 CFLAGS_adf.o := -I$(src)
4
5 obj-$(CONFIG_ADF) += adf_core.o
6
7 adf_core-y := adf.o \
8         adf_client.o \
9         adf_fops.o \
10         adf_format.o \
11         adf_sysfs.o
12
13 adf_core-$(CONFIG_COMPAT) += adf_fops32.o
14
15 obj-$(CONFIG_ADF_FBDEV) += adf_fbdev.o
16
17 obj-$(CONFIG_ADF_MEMBLOCK) += adf_memblock.o