Commit 30fc78ba authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Mauro Carvalho Chehab

[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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f0d81f72
...@@ -4,9 +4,9 @@ saa7164-objs := saa7164-cards.o saa7164-core.o saa7164-i2c.o saa7164-dvb.o \ ...@@ -4,9 +4,9 @@ saa7164-objs := saa7164-cards.o saa7164-core.o saa7164-i2c.o saa7164-dvb.o \
obj-$(CONFIG_VIDEO_SAA7164) += saa7164.o obj-$(CONFIG_VIDEO_SAA7164) += saa7164.o
ccflags-y += -Idrivers/media/video ccflags-y += -I$(srctree)/drivers/media/video
ccflags-y += -Idrivers/media/common/tuners ccflags-y += -I$(srctree)/drivers/media/common/tuners
ccflags-y += -Idrivers/media/dvb/dvb-core ccflags-y += -I$(srctree)/drivers/media/dvb/dvb-core
ccflags-y += -Idrivers/media/dvb/frontends ccflags-y += -I$(srctree)/drivers/media/dvb/frontends
ccflags-y += $(extra-cflags-y) $(extra-cflags-m) ccflags-y += $(extra-cflags-y) $(extra-cflags-m)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment