path: root/docs
diff options
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-09-27 22:26:15 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-09-27 22:34:11 +0200
commit1110062e465354fdee9ee887024f4a58783533c6 (patch)
treee33389065c8c0f58866295357f3287fca954457b /docs
parent677ae6f6a5554d9ce1162bb472c489df41ca2c8e (diff)
docs/buildroot.html: document Makefile wrapper in output dir
For out-of-tree builds. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'docs')
1 files changed, 16 insertions, 1 deletions
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
+ <p>Or:</p>
+ $ cd /tmp/build; make O=$PWD -C path/to/buildroot
<p>All the output files will be located under
<p>When using out-of-tree builds, the Buildroot
- <code>.config</code> and temporary files are also stored in the
+ <code>.config</code> 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.</p>
+ <p>For ease of use, Buildroot generates a Makefile wrapper in the
+ output directory - So after the first run, you no longer need to
+ pass <code>O=..</code> and <code>-C ..</code>, simply run (in the
+ output directory):</p>
+ $ make &lt;target&gt;
<h3><a name="environment_variables" id="environment_variables"></a>
Environment variables</h3>