diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-04-04 16:56:10 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-04-04 16:56:10 +0200 |
commit | b46da0567d3baa6783106e7463801292cdc79ddd (patch) | |
tree | 63d9d5b38c2f7e55e605bf2b1a6b22701474337c /arch | |
parent | kbuild: fix unneeded rebuilds in drivers/net/chelsio after moving source tree (diff) | |
download | linux-b46da0567d3baa6783106e7463801292cdc79ddd.tar.xz linux-b46da0567d3baa6783106e7463801292cdc79ddd.zip |
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 'arch')
-rw-r--r-- | arch/ppc/boot/lib/Makefile | 2 | ||||
-rw-r--r-- | arch/sparc/math-emu/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/boot/lib/Makefile b/arch/ppc/boot/lib/Makefile index d4077e69086f..80c84d562fa4 100644 --- a/arch/ppc/boot/lib/Makefile +++ b/arch/ppc/boot/lib/Makefile @@ -3,7 +3,7 @@ # CFLAGS_kbd.o := -Idrivers/char -CFLAGS_vreset.o := -I$(srctree)/arch/ppc/boot/include +CFLAGS_vreset.o := -Iarch/ppc/boot/include zlib := infblock.c infcodes.c inffast.c inflate.c inftrees.c infutil.c diff --git a/arch/sparc/math-emu/Makefile b/arch/sparc/math-emu/Makefile index f84a9a6162be..8136987977f4 100644 --- a/arch/sparc/math-emu/Makefile +++ b/arch/sparc/math-emu/Makefile @@ -5,4 +5,4 @@ obj-y := math.o EXTRA_AFLAGS := -ansi -EXTRA_CFLAGS = -I. -I$(TOPDIR)/include/math-emu -w +EXTRA_CFLAGS = -I. -Iinclude/math-emu -w |