diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2012-02-17 04:57:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-08 10:40:51 -0300 |
commit | d94a2c0341dab800cddd2b8269ffded1801ef9cb (patch) | |
tree | b7663ad39ed416032549e71e9c9b6cf4b0b6d1d9 | |
parent | 3b2a63061ed69465cf851f93b7028ee8badb9d9c (diff) | |
download | linux-d94a2c0341dab800cddd2b8269ffded1801ef9cb.tar.bz2 |
[media] media: video: append $(srctree) to -I parameters
Without this we have got the warnings like following if build with "make W=1
O=/var/tmp":
CHECK drivers/media/video/videobuf-vmalloc.c
CC [M] drivers/media/video/videobuf-vmalloc.o
+cc1: warning: drivers/media/dvb/dvb-core: No such file or directory [enabled by default]
+cc1: warning: drivers/media/dvb/frontends: No such file or directory [enabled by default]
+cc1: warning: drivers/media/dvb/dvb-core: No such file or directory [enabled by default]
+cc1: warning: drivers/media/dvb/frontends: No such file or directory [enabled by default]
LD drivers/media/built-in.o
Some details could be found in [1] as well.
[1] http://comments.gmane.org/gmane.linux.kbuild.devel/7733
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile index 563443c6b635..2a572bca3895 100644 --- a/drivers/media/video/Makefile +++ b/drivers/media/video/Makefile @@ -201,6 +201,6 @@ obj-y += davinci/ obj-$(CONFIG_ARCH_OMAP) += omap/ -ccflags-y += -Idrivers/media/dvb/dvb-core -ccflags-y += -Idrivers/media/dvb/frontends -ccflags-y += -Idrivers/media/common/tuners +ccflags-y += -I$(srctree)/drivers/media/dvb/dvb-core +ccflags-y += -I$(srctree)/drivers/media/dvb/frontends +ccflags-y += -I$(srctree)/drivers/media/common/tuners |