From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/docs
Date: Thu, 12 Jul 2007 07:43:45 -0700 (PDT) [thread overview]
Message-ID: <20070712144345.D4FC5A6827@busybox.net> (raw)
Author: ulf
Date: 2007-07-12 07:43:44 -0700 (Thu, 12 Jul 2007)
New Revision: 19071
Log:
Update Documentation for BSP patch
Modified:
trunk/buildroot/docs/buildroot.html
Changeset:
Modified: trunk/buildroot/docs/buildroot.html
===================================================================
--- trunk/buildroot/docs/buildroot.html 2007-07-12 13:11:03 UTC (rev 19070)
+++ trunk/buildroot/docs/buildroot.html 2007-07-12 14:43:44 UTC (rev 19071)
@@ -145,10 +145,15 @@
<p>For each entry of the configuration tool, you can find associated help
that describes the purpose of the entry.</p>
+ <p>One of the key configuration items is the <code>PROJECT</code> which
+ determines where some board specific packages are built and where the
+ results are stored.</p>
+
<p>Once everything is configured, the configuration tool has generated a
<code>.config</code> file that contains the description of your
configuration. It will be used by the Makefiles to do what's needed.</p>
+
<p>Let's go:</p>
<pre>
@@ -160,7 +165,7 @@
be named <code>root_fs_ARCH.EXT</code> where <code>ARCH</code> is your
architecture and <code>EXT</code> depends on the type of target filesystem
selected in the <code>Target options</code> section of the configuration
- tool.</p>
+ tool.The file is stored in the "binaries/<code>$(PROJECT)</code>/" directory</p>
<p>If you intend to do an offline-build and just want to download all
sources that you previously selected in "make menuconfig" then
@@ -198,11 +203,11 @@
<h2><a name="custom_targetfs" id="custom_targetfs"></a>Customizing the
target filesystem</h2>
- <p>There are two ways to customize the resulting target filesystem:</p>
+ <p>There are a few ways to customize the resulting target filesystem:</p>
<ul>
<li>Customize the target filesystem directly, and rebuild the image. The
- target filesystem is available under <code>build_ARCH/root/</code> where
+ target filesystem is available under <code>project_build_ARCH/root/</code> where
<code>ARCH</code> is the chosen target architecture. You can simply make
your changes here, and run make afterwards, which will rebuild the target
filesystem image. This method allows to do everything on the target
@@ -224,9 +229,13 @@
it should be changed. These main directories are in an tarball inside of
inside the skeleton because it contains symlinks that would be broken
otherwise.<br />
- These customizations are deployed into <code>build_ARCH/root/</code> just
+ These customizations are deployed into <code>project_build_ARCH/root/</code> just
before the actual image is made. So simply rebuilding the image by running
make should propogate any new changes to the image.</li>
+
+ <li>When configuring the build system, using <code>make menuconfig</code>, you
+ can specify the contents of the /etc/hostname and /etc/issue
+ (the welcome banner) in the <code>PROJECT</code> section</li>
</ul>
<h2><a name="custom_busybox" id="custom_busybox"></a>Customizing the
@@ -349,10 +358,30 @@
tarballs are in this directory because it may be useful to save them
somewhere to avoid further downloads.</li>
- <li>Create the build directory (<code>build_ARCH/</code> by default,
+ <li>Create the shared build directory (<code>build_ARCH/</code> by default,
where <code>ARCH</code> is your architecture). This is where all
- user-space tools while be compiled.</li>
+ non configurable user-space tools will be compiled.When building two or more
+ targets using the same architecture, the first build will go through the full
+ download, configure, make process, but the second and later builds will only
+ copy the result from the first build to its project specific target directory
+ significantly speeding up the build process</li>
+ <li>Create the project specific build directory
+ (<code>project_build_ARCH/$(PROJECT)</code> by default, where <code>ARCH</code>
+ is your architecture). This is where all configurable user-space tools will be
+ compiled. The project specific build directory is neccessary, if two different
+ targets needs to use a specific package, but the packages have different
+ configuration for both targets. Some examples of packages built in this directory
+ are busybox and linux.
+ </li>
+
+ <li>Create the project specific result directory
+ (<code>binaries/$(PROJECT)</code> by default, where <code>ARCH</code>
+ is your architecture). This is where the root file system images are stored,
+ It is also used to store the linux kernel image and any utilities, boot-loaders
+ etc. needed for a target.
+ </li>
+
<li>Create the toolchain build directory
(<code>toolchain_build_ARCH/</code> by default, where <code>ARCH</code>
is your architecture). This is where the cross compilation toolchain will
@@ -367,7 +396,7 @@
setup this staging directory, it first removes it, and then it creates
various subdirectories and symlinks inside it.</li>
- <li>Create the target directory (<code>build_ARCH/root/</code> by
+ <li>Create the target directory (<code>project_build_ARCH/root/</code> by
default) and the target filesystem skeleton. This directory will contain
the final root filesystem. To setup it up, it first deletes it, then it
uncompress the <code>target/generic/skel.tar.gz</code> file to create the
next reply other threads:[~2007-07-12 14:43 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-12 14:43 ulf at uclibc.org [this message]
2007-07-12 15:07 ` [Buildroot] svn commit: trunk/buildroot/docs Bernhard Fischer
-- strict thread matches above, loose matches on Subject: below --
2009-03-02 10:09 jacmet at uclibc.org
2009-03-02 8:34 jacmet at uclibc.org
2009-02-12 9:33 jacmet at uclibc.org
2009-02-09 16:44 jacmet at uclibc.org
2009-01-31 23:02 jacmet at uclibc.org
2009-01-26 20:26 ulf at uclibc.org
2009-01-23 21:06 jacmet at uclibc.org
2009-01-16 19:45 jacmet at uclibc.org
2009-01-16 21:02 ` Markus Heidelberg
2009-01-16 19:45 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-06 16:30 ulf at uclibc.org
2009-01-06 16:34 ` Peter Korsgaard
2008-12-18 0:48 root at uclibc.org
2008-12-16 9:00 jacmet at uclibc.org
2008-12-15 22:35 tpetazzoni at uclibc.org
2008-12-15 22:44 ` Thomas Petazzoni
2008-12-16 9:03 ` Peter Korsgaard
2008-12-16 9:00 ` Peter Korsgaard
2008-12-15 22:14 tpetazzoni at uclibc.org
2008-12-08 8:15 jacmet at uclibc.org
2008-10-14 16:20 aldot at uclibc.org
2008-10-18 6:58 ` Peter Korsgaard
2008-10-06 9:11 jacmet at uclibc.org
2008-06-23 13:40 jacmet at uclibc.org
2008-03-13 17:16 ninevoltz at uclibc.org
2008-03-13 18:25 ` Peter Korsgaard
2007-09-27 21:32 aldot at uclibc.org
2007-09-19 9:08 aldot at uclibc.org
2007-09-02 17:44 aldot at uclibc.org
2007-08-24 5:28 ulf at uclibc.org
2007-08-16 21:54 ulf at uclibc.org
2007-08-12 23:26 ulf at uclibc.org
2007-08-11 21:58 ulf at uclibc.org
2007-08-01 8:11 ulf at uclibc.org
2007-07-12 17:04 ulf at uclibc.org
2007-07-12 16:53 ulf at uclibc.org
2007-07-12 14:46 ulf at uclibc.org
2007-06-21 16:58 aldot at uclibc.org
2007-03-13 12:59 aldot at uclibc.org
2007-01-21 21:49 aldot at uclibc.org
2007-01-19 19:28 aldot at uclibc.org
2007-01-19 19:21 aldot at uclibc.org
2007-01-19 19:20 aldot at uclibc.org
2007-01-19 13:32 aldot at uclibc.org
2007-01-19 12:35 aldot at uclibc.org
2007-01-19 11:00 aldot at uclibc.org
2007-01-19 10:57 aldot at uclibc.org
2007-01-19 9:47 aldot at uclibc.org
2007-01-19 9:24 aldot at uclibc.org
2007-01-17 10:07 aldot at uclibc.org
2006-12-22 12:11 aldot at uclibc.org
2006-11-05 11:21 aldot at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070712144345.D4FC5A6827@busybox.net \
--to=ulf@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox