kbuild: finally remove the obsolete variable $TOPDIR
PATCH 1/1 kbuild: finally remove the obsolete variable $TOPDIR
TOPDIR is obsolete, it can be finally removed now.
---
Makefile +1 -3
@@ -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
drivers/scsi/cxgb3i/Kbuild +1 -1
@@ -1,4 +1,4 @@ -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
Quoted 5 lines · Amerigo Wang
TOPDIR is obsolete, it can be finally removed now.
Signed-off-by WANG Cong <[email protected]>Cc Sam <[email protected]>
ping Sam...
Quoted 38 lines
---
Makefile +0
-0@@ -140,15 +140,13 @@ _all: modulesendif
srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR))
Makefile +0
-2-TOPDIR := $(srctree) -# FIXME - TOPDIR is obsolete, use srctree/objtreeobjtree := $(CURDIR)
src := $(srctree)
obj := $(objtree)VPATH := $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD))
Makefile +1
-1-export srctree objtree VPATH TOPDIR +export srctree objtree VPATH# SUBARCH tells the usermode build what the underlying arch is. That is set
drivers/scsi/cxgb3i/Kbuild +1
-1@@ -1,4 +1,4 @@ -EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/cxgb3 +EXTRA_CFLAGS += -I$(srctree)/drivers/net/cxgb3cxgb3i-y := cxgb3i_init.o cxgb3i_iscsi.o cxgb3i_pdu.o cxgb3i_offload.o cxgb3i_ddp.o obj-$(CONFIG_SCSI_CXGB3_ISCSI) += cxgb3i.o
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 8 lines · Amerigo Wang
Quoted 5 lines · Amerigo Wang
TOPDIR is obsolete, it can be finally removed now.
Signed-off-by WANG Cong <[email protected]>Cc Sam <[email protected]>ping Sam...
Seems I forgot to send you an "applied" mail.
Sam
Quoted 5 lines · Sam Ravnborg
Quoted 4 lines · Amerigo Wang
Quoted 3 lines · Amerigo Wang
TOPDIR is obsolete, it can be finally removed now.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by WANG Cong <[email protected]>Cc Sam <[email protected]>ping Sam...
Seems I forgot to send you an "applied" mail.
No problem. Thanks!