[media] platform/Makefile: don't depend on arch to include dirs
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 8 Jun 2017 15:14:09 +0000 (12:14 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 8 Jun 2017 15:34:16 +0000 (12:34 -0300)
Depending on arch configs to include dirs is evil, and makes
harder to change drivers to work with COMPILE_TEST.

Replace them by obj-y.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/Makefile

index 231f3c2894c9dc011151d632692cee3adbbcd871..c3588d570f5de438ed71f9996dab27a06153829f 100644 (file)
@@ -44,9 +44,9 @@ obj-$(CONFIG_VIDEO_STI_HDMI_CEC)      += sti/cec/
 
 obj-$(CONFIG_VIDEO_STI_DELTA)          += sti/delta/
 
-obj-$(CONFIG_BLACKFIN)                  += blackfin/
+obj-y                                   += blackfin/
 
-obj-$(CONFIG_ARCH_DAVINCI)             += davinci/
+obj-y                                  += davinci/
 
 obj-$(CONFIG_VIDEO_SH_VOU)             += sh_vou.o