From 02616c53c311e29266f194457f8d5b2fc80e213b Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Thu, 12 Jul 2007 14:43:44 +0000 Subject: Update Documentation for BSP patch --- docs/buildroot.html | 43 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/docs/buildroot.html b/docs/buildroot.html index 6bddd31d6..850e58d7a 100644 --- a/docs/buildroot.html +++ b/docs/buildroot.html @@ -145,10 +145,15 @@

For each entry of the configuration tool, you can find associated help that describes the purpose of the entry.

+

One of the key configuration items is the PROJECT which + determines where some board specific packages are built and where the + results are stored.

+

Once everything is configured, the configuration tool has generated a .config file that contains the description of your configuration. It will be used by the Makefiles to do what's needed.

+

Let's go:

@@ -160,7 +165,7 @@
     be named root_fs_ARCH.EXT where ARCH is your
     architecture and EXT depends on the type of target filesystem
     selected in the Target options section of the configuration
-    tool.

+ tool.The file is stored in the "binaries/$(PROJECT)/" directory

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 @@ $ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD

Customizing the target filesystem

-

There are two ways to customize the resulting target filesystem:

+

There are a few ways to customize the resulting target filesystem:

Customizing the @@ -349,9 +358,29 @@ $ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD tarballs are in this directory because it may be useful to save them somewhere to avoid further downloads. -
  • Create the build directory (build_ARCH/ by default, +
  • Create the shared build directory (build_ARCH/ by default, where ARCH is your architecture). This is where all - user-space tools while be compiled.
  • + 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 + +
  • Create the project specific build directory + (project_build_ARCH/$(PROJECT) by default, where ARCH + 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. +
  • + +
  • Create the project specific result directory + (binaries/$(PROJECT) by default, where ARCH + 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. +
  • Create the toolchain build directory (toolchain_build_ARCH/ by default, where ARCH @@ -367,7 +396,7 @@ $ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD setup this staging directory, it first removes it, and then it creates various subdirectories and symlinks inside it.
  • -
  • Create the target directory (build_ARCH/root/ by +
  • Create the target directory (project_build_ARCH/root/ 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 target/generic/skel.tar.gz file to create the -- cgit v1.2.3