summaryrefslogtreecommitdiffstats
path: root/docs/buildroot.html
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-12 04:34:16 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-12 04:34:16 +0000
commit7521f37372839210e18207223ef54ed768422726 (patch)
treeb83665b04f7a60ca456d331cfd19631147cc41b2 /docs/buildroot.html
parent157d8decab1306e388881ff47146f2dd513e2155 (diff)
downloadbuildroot-novena-7521f37372839210e18207223ef54ed768422726.tar.gz
buildroot-novena-7521f37372839210e18207223ef54ed768422726.zip
Add hooks for creating your own board support package
Diffstat (limited to 'docs/buildroot.html')
-rw-r--r--docs/buildroot.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/buildroot.html b/docs/buildroot.html
index f7871184b..d751250f2 100644
--- a/docs/buildroot.html
+++ b/docs/buildroot.html
@@ -170,6 +170,44 @@
tool.
The file is stored in the "binaries/<code>$(PROJECT)</code>/" directory</p>
+ <h3><a name="local_board_support" id="local_board_support"></a>
+ Creating your own board support</h3>
+
+ <p>Once a package has been unpacked, it is possible to manually update
+ configuration files. Buildroot can automatically save the configuration
+ of buildroot, linux, busybox, uclibc and u-boot in "local/$(PROJECT) by
+ using the command:
+ </p>
+
+<pre>
+ $ make saveconfig
+</pre>
+
+ <p>Once a buildroot configuration has been created by saveconfig,
+ the default "$(TOPDIR)/.config" file can be overridden by</p>
+
+<pre>
+ $ make BOARD=&lt;project&gt;
+</pre>
+
+ <p>Buildroot will then use "local/&lt;project&gt;/&lt;project&gt;.config"
+ instead of ".config". </p>
+
+ <p>If you want to modify your board, you can copy the project configuration
+ file to ".config" by using the command:</p>
+
+<pre>
+ $ make BOARD=&lt;project&gt; getconfig
+</pre>
+
+ <p>You can share your custom board support directory between several buildroot trees
+ by setting the environment variable <code>BUILDROOT_LOCAL</code> to this directory,
+ </p>
+
+
+ <h3><a name="offline_builds" id="offline_builds"></a>
+ Offline builds</h3>
+
<p>If you intend to do an offline-build and just want to download all
sources that you previously selected in &quot;make menuconfig&quot; then
issue:</p>