comparison simple-root-filesystem.sh @ 1128:e5f9681a8b3c

Lots of comment updates. Add a NO_HOST_TOOLS=1 config option, and a few "time" calls to stages that didn't have them. Put native-compiler.sh after root-filesystem.sh in build so it's slightly easier to document.
author Rob Landley <rob@landley.net>
date Sat, 19 Jun 2010 16:44:49 -0500
parents 2b68517f5b62
children 1ad777637d2d
comparison
equal deleted inserted replaced
1127:1f51b4a0517b 1128:e5f9681a8b3c
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Build a basic busybox+uClibc root filesystem for a given target. 3 # Build a basic busybox+uClibc root filesystem for a given target.
4
5 # Requires a cross-compiler (or simple-cross-compiler) in the $PATH or in
6 # the build directory. In theory you can supply your own as long as the
7 # prefix- name is correct.
4 8
5 source sources/include.sh || exit 1 9 source sources/include.sh || exit 1
6 read_arch_dir "$1" 10 read_arch_dir "$1"
7 check_for_base_arch || exit 0 11 check_for_base_arch || exit 0
8 check_prerequisite "${ARCH}-cc" 12 check_prerequisite "${ARCH}-cc"