summaryrefslogtreecommitdiff
path: root/drivers/media/pci/cx18/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-05-13 09:22:15 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-05-18 05:49:56 +0300
commit14340de506c9aa08baa9540ee6250c9d978c16b7 (patch)
treeeab04ed0624786058c66c78b2a6b3279473f2b33 /drivers/media/pci/cx18/Makefile
parentcc966c92c1d40e53074a3aed1d15b4a306161605 (diff)
downloadlinux-14340de506c9aa08baa9540ee6250c9d978c16b7.tar.xz
media: prefix header search paths with $(srctree)/
Currently, the Kbuild core manipulates header search paths in a crazy way [1]. To fix this mess, I want all Makefiles to add explicit $(srctree)/ to the search paths in the srctree. Some Makefiles are already written in that way, but not all. The goal of this work is to make the notation consistent, and finally get rid of the gross hacks. Having whitespaces after -I does not matter since commit 48f6e3cf5bc6 ("kbuild: do not drop -I without parameter"). [1]: https://patchwork.kernel.org/patch/9632347/ Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'drivers/media/pci/cx18/Makefile')
-rw-r--r--drivers/media/pci/cx18/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/cx18/Makefile b/drivers/media/pci/cx18/Makefile
index 9c82c2df05e1..df00ef8b4521 100644
--- a/drivers/media/pci/cx18/Makefile
+++ b/drivers/media/pci/cx18/Makefile
@@ -9,5 +9,5 @@ cx18-alsa-objs := cx18-alsa-main.o cx18-alsa-pcm.o
obj-$(CONFIG_VIDEO_CX18) += cx18.o
obj-$(CONFIG_VIDEO_CX18_ALSA) += cx18-alsa.o
-ccflags-y += -Idrivers/media/dvb-frontends
-ccflags-y += -Idrivers/media/tuners
+ccflags-y += -I $(srctree)/drivers/media/dvb-frontends
+ccflags-y += -I $(srctree)/drivers/media/tuners