summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-08 17:14:09 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-08 17:34:16 +0200
commit13c6c6ea1a89fea426935501ddd064d271d836d6 (patch)
tree783ae88b6fb39ddab736cc98ca85ded4b7058eac /drivers/media/platform/Makefile
parent[media] davinci: Switch from V4L2 OF to V4L2 fwnode (diff)
downloadlinux-13c6c6ea1a89fea426935501ddd064d271d836d6.tar.xz
linux-13c6c6ea1a89fea426935501ddd064d271d836d6.zip
[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/media/platform/Makefile')
-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