Commit 1110062e authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

docs/buildroot.html: document Makefile wrapper in output dir



For out-of-tree builds.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 677ae6f6
Loading
Loading
Loading
Loading
+16 −1
Original line number Diff line number Diff line
@@ -278,6 +278,12 @@ or
 $ make O=/tmp/build
</pre>

    <p>Or:</p>

<pre>
 $ cd /tmp/build; make O=$PWD -C path/to/buildroot
</pre>

    <p>All the output files will be located under
    <code>/tmp/build</code>.</p>

@@ -287,6 +293,15 @@ or
    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>

<pre>
 $ make &lt;target&gt;
</pre>

    <h3><a name="environment_variables" id="environment_variables"></a>
    Environment variables</h3>