aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c3b54ad2f..a88062e54 100644
--- a/Makefile
+++ b/Makefile
@@ -12,12 +12,11 @@ noconfig_targets := menuconfig config oldconfig randconfig \
12 defconfig allyesconfig allnoconfig clean distclean \ 12 defconfig allyesconfig allnoconfig clean distclean \
13 release tags 13 release tags
14 14
15ifndef TOPDIR 15# the toplevel sourcedir
16TOPDIR=$(CURDIR)/
17endif
18ifndef top_srcdir 16ifndef top_srcdir
19top_srcdir=$(CURDIR) 17top_srcdir=$(CURDIR)
20endif 18endif
19# toplevel directory of the object-tree
21ifndef top_builddir 20ifndef top_builddir
22top_builddir=$(CURDIR) 21top_builddir=$(CURDIR)
23endif 22endif
@@ -70,7 +69,6 @@ $(filter-out _all,$(MAKECMDGOALS)) _all: $(KBUILD_OUTPUT)/Rules.mak $(KBUILD_OUT
70 $(MAKE) -C $(KBUILD_OUTPUT) \ 69 $(MAKE) -C $(KBUILD_OUTPUT) \
71 top_srcdir=$(CURDIR) \ 70 top_srcdir=$(CURDIR) \
72 top_builddir=$(KBUILD_OUTPUT) \ 71 top_builddir=$(KBUILD_OUTPUT) \
73 TOPDIR=$(KBUILD_OUTPUT) \
74 KBUILD_SRC=$(CURDIR) \ 72 KBUILD_SRC=$(CURDIR) \
75 -f $(CURDIR)/Makefile $@ 73 -f $(CURDIR)/Makefile $@
76 74