summaryrefslogtreecommitdiff
path: root/docs/buildroot.html
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-26 23:52:31 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-26 23:52:31 +0000
commit0dbf9dd7ab8e08e9081a1141f0122f0e2cdc6202 (patch)
tree098bb98a9d08b6ec633c00178556bdd9955ce8ae /docs/buildroot.html
parent78fa0d4eb4f8ce861664093cb62c1a11b22d90f6 (diff)
Create a common BR2_COPYTO to prepare to replace
all the different COPYTOs spread out all over Buildroot. Generate COPY_FILE subroutine which can be used to copy a file. $(COPY_FILE , file, directory, filename) This will copy to binary dir and to the selected copy dir if set in new config (intended to replace all old COPYTO configs) This is overridden by BUILDROOT_COPYTO, if set into the environment.
Diffstat (limited to 'docs/buildroot.html')
-rw-r--r--docs/buildroot.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/buildroot.html b/docs/buildroot.html
index abd4d265a..b02ee3d6c 100644
--- a/docs/buildroot.html
+++ b/docs/buildroot.html
@@ -247,6 +247,7 @@
<li>HOSTCC</li>
<li>UCLIBC_CONFIG_FILE=&lt;path/to/.config&gt;</li>
<li>BUSYBOX_CONFIG_FILE=&lt;path/to/.config&gt;</li>
+ <li>BUILDROOT_COPYTO</li>
<li>BUILDROOT_DL_DIR</li>
<li>BUILDROOT_LOCAL</li>
<li>BUILDROOT_USE_XWINDOWS</li>
@@ -264,6 +265,16 @@ $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config
$ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD
</pre>
+ <p>If you want the result of your build to be copied to another directory
+ like /tftpboot for downloading to a board using tftp, then you
+ can use BUILDROOT_COPYTO to specify your location</p>
+ <p>Typically, this is set in your ~/.bashrc file
+
+<pre>
+$ export BUILDROOT_COPYTO=/tftpboot
+</pre>
+
+
<h3><a name="helper_completion" id="helper_completion"></a>
Using auto-completion</h3>