diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-04-04 10:56:10 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-04-04 10:56:10 -0400 |
commit | b46da0567d3baa6783106e7463801292cdc79ddd (patch) | |
tree | 63d9d5b38c2f7e55e605bf2b1a6b22701474337c | |
parent | 1417ae0869472f4f3768779c51c3979faca20b2e (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>
-rw-r--r-- | arch/ppc/boot/lib/Makefile | 2 | ||||
-rw-r--r-- | arch/sparc/math-emu/Makefile | 2 | ||||
-rw-r--r-- | drivers/media/video/bt8xx/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/ppc/boot/lib/Makefile b/arch/ppc/boot/lib/Makefile index d4077e6908..80c84d562f 100644 --- a/arch/ppc/boot/lib/Makefile +++ b/arch/ppc/boot/lib/Makefile | |||
@@ -3,7 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | CFLAGS_kbd.o := -Idrivers/char | 5 | CFLAGS_kbd.o := -Idrivers/char |
6 | CFLAGS_vreset.o := -I$(srctree)/arch/ppc/boot/include | 6 | CFLAGS_vreset.o := -Iarch/ppc/boot/include |
7 | 7 | ||
8 | zlib := infblock.c infcodes.c inffast.c inflate.c inftrees.c infutil.c | 8 | zlib := infblock.c infcodes.c inffast.c inflate.c inftrees.c infutil.c |
9 | 9 | ||
diff --git a/arch/sparc/math-emu/Makefile b/arch/sparc/math-emu/Makefile index f84a9a6162..8136987977 100644 --- a/arch/sparc/math-emu/Makefile +++ b/arch/sparc/math-emu/Makefile | |||
@@ -5,4 +5,4 @@ | |||
5 | obj-y := math.o | 5 | obj-y := math.o |
6 | 6 | ||
7 | EXTRA_AFLAGS := -ansi | 7 | EXTRA_AFLAGS := -ansi |
8 | EXTRA_CFLAGS = -I. -I$(TOPDIR)/include/math-emu -w | 8 | EXTRA_CFLAGS = -I. -Iinclude/math-emu -w |
diff --git a/drivers/media/video/bt8xx/Makefile b/drivers/media/video/bt8xx/Makefile index 94350f21cd..db641a36b1 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 \ | |||
9 | obj-$(CONFIG_VIDEO_BT848) += bttv.o | 9 | obj-$(CONFIG_VIDEO_BT848) += bttv.o |
10 | 10 | ||
11 | EXTRA_CFLAGS += -I$(src)/.. | 11 | EXTRA_CFLAGS += -I$(src)/.. |
12 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core | 12 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core |