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

From: Michal Marek
Date: Tue Apr 29 2014 - 10:09:24 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 Ooopses more
readable by avoiding the full path to the source/object directory.

Patch 2/5 is just an unrelated cleanup.

Michal

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 | 14 ++++++++++++--
firmware/Makefile | 34 +++++++---------------------------
scripts/Makefile.fwinst | 24 +++++++++++-------------
3 files changed, 30 insertions(+), 42 deletions(-)

--
1.9.2

--
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/