]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] media: gspca: append $(srctree) to -I parameters
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 17 Feb 2012 07:57:09 +0000 (04:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Mar 2012 13:42:08 +0000 (10:42 -0300)
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>
drivers/media/video/gspca/gl860/Makefile
drivers/media/video/gspca/m5602/Makefile
drivers/media/video/gspca/stv06xx/Makefile

index f511eccdfd9ce8a7abd626a3af1efea69c8a9aca..773ea3426561c68588f43502b2b0278a3ff2c542 100644 (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
 
index 7f52961f439c3b1b2a465110ddb48bf2b18a3b84..575b75bacb62118ae5cb4b004c7fcec5dc7402b0 100644 (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
index 5b318faf9aa8da3a6648103a3b6297aaa48d2e33..38bc41061d8341b21455049ef24456b0a8306962 100644 (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