Skip to content

Commit

Permalink
kbuild: fix unneeded rebuilds in drivers/net/chelsio after moving sou…
Browse files Browse the repository at this point in the history
…rce tree

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>
  • Loading branch information
Carl-Daniel Hailfinger authored and Sam Ravnborg committed Apr 4, 2006
1 parent 8036dc6 commit 1417ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/chelsio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1417ae0

Please sign in to comment.