aboutsummaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2006-04-04 16:56:10 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2006-04-04 16:56:10 +0200
commitb46da0567d3baa6783106e7463801292cdc79ddd (patch)
tree63d9d5b38c2f7e55e605bf2b1a6b22701474337c /drivers/media
parent1417ae0869472f4f3768779c51c3979faca20b2e (diff)
kbuild: use relative path to -I
Using a relative path has the advantage that when the kernel source tree is moved the relevant .o files will not be rebuild just because the path to the kernel src has changed. This also got rid of a user of TOPDIR - which has been deprecated for a long time now. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/bt8xx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/Makefile b/drivers/media/video/bt8xx/Makefile
index 94350f21cdc..db641a36b19 100644
--- a/drivers/media/video/bt8xx/Makefile
+++ b/drivers/media/video/bt8xx/Makefile
@@ -9,4 +9,4 @@ bttv-objs := bttv-driver.o bttv-cards.o bttv-if.o \
obj-$(CONFIG_VIDEO_BT848) += bttv.o
EXTRA_CFLAGS += -I$(src)/..
-EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core
+EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core