aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-07-03 21:34:00 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-07-03 21:34:00 -0400
commitaf6f157a4b4f511d06d564086cb3516bb164b7c6 (patch)
tree528d401c000d4da2711ad46a8be60eb0c5833a80 /Makefile
parent0fba687f9b7ebf5fb028fb8b0a4733b891986bd3 (diff)
parentc2e28dc975ea87feed84415006ae143424912ac7 (diff)
Merge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild fix from Michal Marek: "There is one more fix for the relative paths series from -rc1: Print the path to the build directory at the start of the build, so that editors and IDEs can match the relative paths to source files" * 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: kbuild: Print the name of the build directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 13175632137f..b0ee945885aa 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,10 @@ PHONY += $(MAKECMDGOALS) sub-make
126$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make 126$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
127 @: 127 @:
128 128
129# Fake the "Entering directory" message once, so that IDEs/editors are
130# able to understand relative filenames.
129sub-make: FORCE 131sub-make: FORCE
132 @echo "make[1]: Entering directory \`$(KBUILD_OUTPUT)'"
130 $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \ 133 $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \
131 KBUILD_SRC=$(CURDIR) \ 134 KBUILD_SRC=$(CURDIR) \
132 KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile \ 135 KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile \