Skip to contentSkip to conversation

Remove final references to deprecated, unreferenced TOPDIR.

PATCH New Robert P. J. Day 1 participant 1 message May 14, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove final references to deprecated, unreferenced TOPDIR.

Now that the final references to the deprecated TOPDIR are gone, it seems safe to remove its definition.

---

Makefile +1 -3
index 3140145..2f2bf3e 100644
@@ -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

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================