summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/Makefile
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2012-02-17 04:57:10 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-08 10:41:22 -0300
commit6797e7ad9ca523bdd46b2def7080c31593c5389e (patch)
treeb60a5c5746906a4afffcaf1efa1a814d476d958c /drivers/media/dvb/frontends/Makefile
parent0b1876b288011465b2645a776079a99fb64e054a (diff)
downloadop-kernel-dev-6797e7ad9ca523bdd46b2def7080c31593c5389e.zip
op-kernel-dev-6797e7ad9ca523bdd46b2def7080c31593c5389e.tar.gz
[media] media: dvb: 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/dvb/frontends/Makefile')
-rw-r--r--drivers/media/dvb/frontends/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/Makefile b/drivers/media/dvb/frontends/Makefile
index 7f85e64..17519dc 100644
--- a/drivers/media/dvb/frontends/Makefile
+++ b/drivers/media/dvb/frontends/Makefile
@@ -2,8 +2,8 @@
# Makefile for the kernel DVB frontend device drivers.
#
-ccflags-y += -Idrivers/media/dvb/dvb-core/
-ccflags-y += -Idrivers/media/common/tuners/
+ccflags-y += -I$(srctree)/drivers/media/dvb/dvb-core/
+ccflags-y += -I$(srctree)/drivers/media/common/tuners/
stb0899-objs = stb0899_drv.o stb0899_algo.o
stv0900-objs = stv0900_core.o stv0900_sw.o
OpenPOWER on IntegriCloud