]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Use relative path when building in a subdir of the source tree
authorMichal Marek <mmarek@suse.cz>
Fri, 25 Apr 2014 21:25:18 +0000 (23:25 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 14 May 2014 20:43:05 +0000 (22:43 +0200)
commitd4c86b0dd2b303c27a5e0a814b87324956859300
tree96a4b40fc2b5dc6044687ff448963ea9ee8a66f1
parente8648db94a94aa8db368c71c03f01e9a3bb5bd4b
kbuild: Use relative path when building in a subdir of the source tree

When doing make O=<subdir>, use '..' to refer to the source tree. This
allows for more readable compiler messages, and, more importantly, it
sets the VPATH to '..', so filenames in WARN_ON() etc. will be shorter.

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile