Messages in this thread | | | Date | Thu, 11 Sep 2003 10:04:13 -0400 | From | Jeff Garzik <> | Subject | Re: [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/
| |