diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2012-02-17 02:57:12 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-08 08:41:57 -0500 |
commit | 30fc78bad1df4afc7d6bd9112acb09b64331cfa5 (patch) | |
tree | b290c6cd9bbfc0bf95870d5c47cf2aef84c23545 /drivers/media/video/saa7164 | |
parent | f0d81f728ea71abf42c02da77172f0ed16ca31db (diff) |
[media] media: saa7164: 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/saa7164')
-rw-r--r-- | drivers/media/video/saa7164/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/saa7164/Makefile b/drivers/media/video/saa7164/Makefile index ecd5811dc486..068443af30c8 100644 --- a/drivers/media/video/saa7164/Makefile +++ b/drivers/media/video/saa7164/Makefile | |||
@@ -4,9 +4,9 @@ saa7164-objs := saa7164-cards.o saa7164-core.o saa7164-i2c.o saa7164-dvb.o \ | |||
4 | 4 | ||
5 | obj-$(CONFIG_VIDEO_SAA7164) += saa7164.o | 5 | obj-$(CONFIG_VIDEO_SAA7164) += saa7164.o |
6 | 6 | ||
7 | ccflags-y += -Idrivers/media/video | 7 | ccflags-y += -I$(srctree)/drivers/media/video |
8 | ccflags-y += -Idrivers/media/common/tuners | 8 | ccflags-y += -I$(srctree)/drivers/media/common/tuners |
9 | ccflags-y += -Idrivers/media/dvb/dvb-core | 9 | ccflags-y += -I$(srctree)/drivers/media/dvb/dvb-core |
10 | ccflags-y += -Idrivers/media/dvb/frontends | 10 | ccflags-y += -I$(srctree)/drivers/media/dvb/frontends |
11 | 11 | ||
12 | ccflags-y += $(extra-cflags-y) $(extra-cflags-m) | 12 | ccflags-y += $(extra-cflags-y) $(extra-cflags-m) |