[Patch 8/8] Remove 'TOPDIR' from the Top Makefile

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: LKML <linux-kernel@...>
Cc: Sam Ravnborg <sam@...>, <linux-kbuild@...>, Andrew Morton <akpm@...>
Date: Tuesday, January 1, 2008 - 3:43 am

TOPDIR is obsolete, thus can be removed.
This patch removes TOPDIR from the top Makefile.

Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>

---

diff --git a/Makefile b/Makefile
index fbb8dfc..c892d14 100644
--- a/Makefile
+++ b/Makefile
@@ -148,15 +148,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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Patch 0/8] Remove 'TOPDIR' from Makefiles, WANG Cong, (Tue Jan 1, 3:13 am)
Re: [Patch 0/8] Remove 'TOPDIR' from Makefiles, Sam Ravnborg, (Wed Jan 2, 5:51 am)
Re: [Patch 0/8] Remove 'TOPDIR' from Makefiles, WANG Cong, (Thu Jan 3, 12:37 am)
Re: [Patch 0/8] Remove 'TOPDIR' from Makefiles, Sam Ravnborg, (Tue Jan 1, 6:09 am)
[Patch 8/8] Remove 'TOPDIR' from the Top Makefile, WANG Cong, (Tue Jan 1, 3:43 am)
[Patch 7/8] FS: Remove 'TOPDIR' from Makefiles, WANG Cong, (Tue Jan 1, 3:41 am)
(Try #3) [Patch 7/8] FS: Remove dead code, WANG Cong, (Wed Jan 2, 1:55 am)
Re: [Patch 7/8] FS: Remove 'TOPDIR' from Makefiles, Sam Ravnborg, (Tue Jan 1, 6:30 am)
[Patch 6/8] FRV: Remove 'TOPDIR' from Makefiles, WANG Cong, (Tue Jan 1, 3:36 am)
Re: [Patch 6/8] FRV: Remove 'TOPDIR' from Makefiles, Sam Ravnborg, (Tue Jan 1, 6:27 am)
[Patch 4/8] CRIS: Remove 'TOPDIR' from Makefiles, WANG Cong, (Tue Jan 1, 3:29 am)
Re: [Patch 4/8] CRIS: Remove 'TOPDIR' from Makefiles, Sam Ravnborg, (Tue Jan 1, 6:20 am)
[Patch 3/8] S390: Remove 'TOPDIR' from Makefiles, WANG Cong, (Tue Jan 1, 3:25 am)
Re: [Patch 3/8] S390: Remove 'TOPDIR' from Makefiles, Sam Ravnborg, (Tue Jan 1, 6:17 am)
Re: (Try #2) [Patch 3/8] S390: Tiny fixes for Makefile, Sam Ravnborg, (Tue Jan 1, 1:42 pm)
Re: (Try #3) [Patch 3/8] S390: Remove 'TOPDIR' from Makefile, Martin Schwidefsky, (Wed Jan 2, 5:31 am)
[Patch 2/8] MIPS: Remove 'TOPDIR' from Makefiles, WANG Cong, (Tue Jan 1, 3:22 am)
Re: [Patch 2/8] MIPS: Remove 'TOPDIR' from Makefiles, Sam Ravnborg, (Tue Jan 1, 6:15 am)
Re: [Patch 2/8] MIPS: Remove 'TOPDIR' from Makefiles, Andreas Schwab, (Tue Jan 1, 9:44 am)
Re: [Patch 2/8] MIPS: Remove 'TOPDIR' from Makefiles, Sam Ravnborg, (Tue Jan 1, 1:57 pm)
[Patch 1/8] UML: Remove 'TOPDIR' from Makefiles, WANG Cong, (Tue Jan 1, 3:18 am)
Re: [Patch 1/8] UML: Remove 'TOPDIR' from Makefiles, Sam Ravnborg, (Tue Jan 1, 6:33 am)
Re: [Patch 1/8] UML: Remove 'TOPDIR' from Makefiles, Sam Ravnborg, (Tue Jan 1, 6:49 am)