mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
docs/buildroot.html: document Makefile wrapper in output dir
For out-of-tree builds. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
677ae6f6a5
commit
1110062e46
@ -278,15 +278,30 @@ or
|
|||||||
$ make O=/tmp/build
|
$ make O=/tmp/build
|
||||||
</pre>
|
</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
|
<p>All the output files will be located under
|
||||||
<code>/tmp/build</code>.</p>
|
<code>/tmp/build</code>.</p>
|
||||||
|
|
||||||
<p>When using out-of-tree builds, the Buildroot
|
<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
|
output directory. This means that you can safely run multiple
|
||||||
builds in parallel using the same source tree as long as they use
|
builds in parallel using the same source tree as long as they use
|
||||||
unique output directories.</p>
|
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 <target>
|
||||||
|
</pre>
|
||||||
|
|
||||||
<h3><a name="environment_variables" id="environment_variables"></a>
|
<h3><a name="environment_variables" id="environment_variables"></a>
|
||||||
Environment variables</h3>
|
Environment variables</h3>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user