Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11294235 authored by Amerigo Wang's avatar Amerigo Wang Committed by Sam Ravnborg
Browse files

kbuild: finally remove the obsolete variable $TOPDIR



TOPDIR is obsolete, it can be finally removed now.

Signed-off-by: default avatarWANG Cong <amwang@redhat.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent c512d254
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -140,15 +140,13 @@ _all: modules
endif

srctree		:= $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR))
TOPDIR		:= $(srctree)
# FIXME - TOPDIR is obsolete, use srctree/objtree
objtree		:= $(CURDIR)
src		:= $(srctree)
obj		:= $(objtree)

VPATH		:= $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD))

export srctree objtree VPATH TOPDIR
export srctree objtree VPATH


# SUBARCH tells the usermode build what the underlying arch is.  That is set
+1 −1
Original line number Diff line number Diff line
EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/cxgb3
EXTRA_CFLAGS += -I$(srctree)/drivers/net/cxgb3

cxgb3i-y := cxgb3i_init.o cxgb3i_iscsi.o cxgb3i_pdu.o cxgb3i_offload.o cxgb3i_ddp.o
obj-$(CONFIG_SCSI_CXGB3_ISCSI) += cxgb3i.o