view sources/README @ 888:626288dd5cf3

Lots of comments.
author Rob Landley <rob@landley.net>
date Mon, 16 Nov 2009 01:45:56 -0600
parents b274eb556b50
children bd2ea96aac53
line wrap: on
line source

The following files live here:

  include.sh: Common code included by every build stage.  Defines many
              environment variables.

  functions.sh: Function definitions, normally included from include.sh.

  timeout.sh: Wrapper to run a command line with a timeout.

  trimconfig-busybox: Busybox config file to switch off bits of "allyesconfig"
                      that don't work on all targets.

  baseconfig-uClibc: Common miniconfig shared by all architectures, to which
                     $UCLIBC_CONFIG from the target/$ARCH/settings is appended.

The following subdirectories live here:

  more: Additional scripts the user can run, but which aren't part of build.sh.
        This directory contains external user interfaces, just obscure ones.

  native: Files copied verbatim into each architecture's root-filesystem image.

  toys: Various small code snippets written or maintained for this project.

  sections: Package build scripts called more than once during build.sh.
            This is duplicate code factored out into a common location.

  patches: Patches applied to the packages listed in download.sh by "setupfor".
           Each package has "$PACKAGE-*.patch" applied in alphabetical order,
           or "alt-$PACKAGE-*.patch" for USE_UNSTABLE versions.

  targets: Configuration for each target platform, parsed by read_arch_dir()
           and getconfig() in functions.sh.  Each subdirectory is a
           target name, and contains at least four files:

      settings: Environment variables needed by the build.

      miniconfig-linux: linux kernel .config compressed by toys/miniconfig.sh
                        (If miniconfig-alt-linux exists, USE_UNSTABLE=linux
                         will use that instead.)

      miniconfig-uClibc: uClibc .config compressed by toys/miniconfig.sh
                         (If miniconfig-alt-uClibc exists, USE_UNSTABLE=uClibc
                          will use that instead.)

      description: Simple documentation about the platform