summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gl860
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2012-02-17 04:57:09 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-08 10:42:08 -0300
commit8d834b526a301d2d10db25835d195edf1141f1a0 (patch)
tree21eb08e800564df3874e227fda9d3edec943a132 /drivers/media/video/gspca/gl860
parentd377cfcc42953a4d8312411d1019f8057b1f2242 (diff)
[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>
Diffstat (limited to 'drivers/media/video/gspca/gl860')
-rw-r--r--drivers/media/video/gspca/gl860/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gl860/Makefile b/drivers/media/video/gspca/gl860/Makefile
index f511eccdfd9..773ea342656 100644
--- a/drivers/media/video/gspca/gl860/Makefile
+++ b/drivers/media/video/gspca/gl860/Makefile
@@ -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