From: Peter Korsgaard Date: Mon, 27 Sep 2010 20:26:15 +0000 (+0200) Subject: docs/buildroot.html: document Makefile wrapper in output dir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1110062e465354fdee9ee887024f4a58783533c6;p=buildroot.git docs/buildroot.html: document Makefile wrapper in output dir For out-of-tree builds. Signed-off-by: Peter Korsgaard --- diff --git a/docs/buildroot.html b/docs/buildroot.html index edb75b134e..b7a8641e91 100644 --- a/docs/buildroot.html +++ b/docs/buildroot.html @@ -278,15 +278,30 @@ or $ make O=/tmp/build +

Or:

+ +
+ $ cd /tmp/build; make O=$PWD -C path/to/buildroot
+
+

All the output files will be located under /tmp/build.

When using out-of-tree builds, the Buildroot - .config and temporary files are also stored in the + .config and temporary files are also stored in the output directory. This means that you can safely run multiple builds in parallel using the same source tree as long as they use unique output directories.

+

For ease of use, Buildroot generates a Makefile wrapper in the + output directory - So after the first run, you no longer need to + pass O=.. and -C .., simply run (in the + output directory):

+ +
+ $ make <target>
+
+

Environment variables