kbuild: fix unneeded rebuilds in drivers/net/chelsio after moving source tree
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Mon, 3 Apr 2006 23:02:30 +0000 (01:02 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Tue, 4 Apr 2006 14:51:41 +0000 (16:51 +0200)
This fixes some uneeded rebuilds under drivers/net/chelsio after moving
the source tree. The makefiles used $(TOPDIR) for include paths, which
is unnecessary. Changed to use relative paths.

Compile tested, produces byte-identical code to the previous makefiles.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
drivers/net/chelsio/Makefile

index 91e927827c433b1ac7b3c8d5188fca12a35389d6..54c78d94f48bea75ba0eb68d8279085f8a973e72 100644 (file)
@@ -4,7 +4,7 @@
 
 obj-$(CONFIG_CHELSIO_T1) += cxgb.o
 
-EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/chelsio $(DEBUG_FLAGS)
+EXTRA_CFLAGS += -Idrivers/net/chelsio $(DEBUG_FLAGS)
 
 
 cxgb-objs := cxgb2.o espi.o pm3393.o sge.o subr.o mv88x201x.o