aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-08-31 20:23:47 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2008-08-31 20:23:47 +0000
commit0732b8cc840efb5927bc143f5091a1da4c6e0dce (patch)
tree40daf37226fe4fc897dffad1f5c56569e6613649 /docs
parentd5007ac67b7df21bc3d6b5ebd2453a420354425b (diff)
downloadbuildroot-0732b8cc840efb5927bc143f5091a1da4c6e0dce.tar.gz
buildroot-0732b8cc840efb5927bc143f5091a1da4c6e0dce.tar.bz2
buildroot: support out-of-tree builds
Add support and documentation for out-of-tree builds with syntax like the Linux kernel (make O=<dir>).
Diffstat (limited to 'docs')
-rw-r--r--docs/buildroot.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/buildroot.html b/docs/buildroot.html
index 6e20d04199..89c59701b6 100644
--- a/docs/buildroot.html
+++ b/docs/buildroot.html
@@ -217,6 +217,20 @@
<p>You can now disconnect or copy the content of your <code>dl</code>
directory to the build-host. </p>
+ <h3><a name="building_out_of_tree" id="building_out_of_tree"></a>
+ Building out-of-tree</h3>
+
+ <p>Buildroot supports building out of tree with a syntax similar
+ to the Linux kernel. To use it, add O=&lt;directory&gt; to the
+ make command line, E.G.:</p>
+
+<pre>
+ $ make O=/tmp/build
+</pre>
+
+ <p>And all the output files will be located under
+ <code>/tmp/build</code>.</p>
+
<h3><a name="environment_variables" id="environment_variables"></a>
Environment variables</h3>