From 1c943eb88af4782f02001ced33f0b07e892bdb22 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 26 Sep 2005 16:01:43 +0000 Subject: - remove unused variable TOPDIR --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c3b54ad2f..a88062e54 100644 --- a/Makefile +++ b/Makefile @@ -12,12 +12,11 @@ noconfig_targets := menuconfig config oldconfig randconfig \ defconfig allyesconfig allnoconfig clean distclean \ release tags -ifndef TOPDIR -TOPDIR=$(CURDIR)/ -endif +# the toplevel sourcedir ifndef top_srcdir top_srcdir=$(CURDIR) endif +# toplevel directory of the object-tree ifndef top_builddir top_builddir=$(CURDIR) endif @@ -70,7 +69,6 @@ $(filter-out _all,$(MAKECMDGOALS)) _all: $(KBUILD_OUTPUT)/Rules.mak $(KBUILD_OUT $(MAKE) -C $(KBUILD_OUTPUT) \ top_srcdir=$(CURDIR) \ top_builddir=$(KBUILD_OUTPUT) \ - TOPDIR=$(KBUILD_OUTPUT) \ KBUILD_SRC=$(CURDIR) \ -f $(CURDIR)/Makefile $@ -- cgit v1.2.3