[media] media: gspca: append $(srctree) to -I parameters

Without this we have got the warnings like following if build with "make W=1
O=/var/tmp":
  cc1: warning: drivers/media/dvb/dvb-core: No such file or directory [enabled by default]

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Andy Shevchenko 2012-02-17 04:57:09 -03:00 committed by Mauro Carvalho Chehab
parent d377cfcc42
commit 8d834b526a
3 changed files with 3 additions and 3 deletions

View file

@ -6,5 +6,5 @@ gspca_gl860-objs := gl860.o \
gl860-ov9655.o \
gl860-mi2020.o
ccflags-y += -Idrivers/media/video/gspca
ccflags-y += -I$(srctree)/drivers/media/video/gspca

View file

@ -8,4 +8,4 @@ gspca_m5602-objs := m5602_core.o \
m5602_s5k83a.o \
m5602_s5k4aa.o
ccflags-y += -Idrivers/media/video/gspca
ccflags-y += -I$(srctree)/drivers/media/video/gspca

View file

@ -6,5 +6,5 @@ gspca_stv06xx-objs := stv06xx.o \
stv06xx_pb0100.o \
stv06xx_st6422.o
ccflags-y += -Idrivers/media/video/gspca
ccflags-y += -I$(srctree)/drivers/media/video/gspca