[PATCH v2 0/5] kbuild: Use relative paths if possible

From: Michal Marek
Date: Fri May 09 2014 - 08:52:41 EST


Hi,

This series changes the Makefile to use relative paths for $(objtree),
always setting it to '.', and for $(srctree) setting either to '.' or
'..', when building in the source tree or a subdirectory thereof,
respectively. The goal is to make compiler messages and Oopses more
readable by avoiding the full path to the source/object directory.

Patch 2/5 is just an unrelated cleanup.

v1->v2: Fix the 'build' and 'source' symlinks in /lib/modules

Michal Marek (5):
firmware: Simplify directory creation
firmware: Use $(quote) in the Makefile
kbuild: Use relative path for $(objtree)
kbuild: Use relative path when building in the source tree
kbuild: Use relative path when building in a subdir of the source tree

Makefile | 18 ++++++++++++++----
firmware/Makefile | 34 +++++++---------------------------
scripts/Makefile.fwinst | 24 +++++++++++-------------
3 files changed, 32 insertions(+), 44 deletions(-)

--
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/