summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-08 18:14:09 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-08 18:34:16 +0300
commit13c6c6ea1a89fea426935501ddd064d271d836d6 (patch)
tree783ae88b6fb39ddab736cc98ca85ded4b7058eac /drivers
parenta2d17962c9ca7ac66a132bbbfc6054559856e14e (diff)
downloadlinux-13c6c6ea1a89fea426935501ddd064d271d836d6.tar.xz
[media] platform/Makefile: don't depend on arch to include dirs
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
index 231f3c2894c9..c3588d570f5d 100644
--- a/drivers/media/platform/Makefile
+++ b/drivers/media/platform/Makefile
@@ -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