lkml.org 
[lkml]   [2003]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BK-PATCH] kbuild: Separate output directory support
Sam Ravnborg wrote:
> Usage is simple:
> cd /path/to/kernel/src
> mkdir ~/build/kernel
> make O=~/build/kernel [Make options]
> Please note: The O= syntax must be used for ALL invocations of make.
[...]
> How it works:
> If the O= option is used, or KBUILD_OUTPUT is set then a second invocation
> of make happens in the output directory.
> The second invocation of make uses VPATH to tell make where to locate
> the files. Furthermore include options for gcc is modifyied to point
> both in the directory where the kernel src is located, and in the
> directory where the output files are located. The latter is used for
> generated .h files.


Sweet! Thanks for all your hard work, Sam.

Jeff



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

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.027 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site