From: "Robert P. J. Day" Now that the final references to the deprecated TOPDIR are gone, it seems safe to remove its definition. Signed-off-by: Robert P. J. Day Cc: Sam Ravnborg Signed-off-by: Andrew Morton --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -puN Makefile~kbuild-remove-final-references-to-deprecated-unreferenced-topdir Makefile --- a/Makefile~kbuild-remove-final-references-to-deprecated-unreferenced-topdir +++ a/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 _