]> err.no Git - linux-2.6/commit
kbuild: scripts/mkmakefile: dynamic determination of output directory
authorJan Beulich <jbeulich@novell.com>
Fri, 11 Jan 2008 09:09:00 +0000 (09:09 +0000)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 28 Jan 2008 22:14:38 +0000 (23:14 +0100)
commit1d3b3bfab121cdef07d19797f42f413dccdd65f0
treedde27534e3eb66c4a4fe7810b8a6dd553c609cfd
parentdf578e7d831b4d280bf7c621eafb737e78cd26eb
kbuild: scripts/mkmakefile: dynamic determination of output directory

Rather than fixing the output directory in the generated Makefile,
determine it from the placement of Makefile. This allows moving
the build tree around or accessing it through different mount paths.

(The lastword definition is a compatibility one for make prior to 3.81;
newer make will simply ignore it and use the [faster] built-in.)

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mkmakefile