view @ 1184:aa8992b35e15

Make extract_package directly callable, and do so where necessary.
author Rob Landley <>
date Sat, 31 Jul 2010 21:49:01 -0500
parents 300e6d919d86
children ac490c50f9f5
line wrap: on
line source


# Build a more advanced cross compiler, including thread support and uClibc++,
# built --with-shared (which produces, and statically linked
# against uClibc on the host (for portability).

# Building this requires two existing (simple) cross compilers: one for
# the host (to build the executables) and one for the target (to build
# the libraries).

# This is a simple wrapper for, we re-use the canadian
# cross infrastructure in there to build a very similar compiler.

# Unless told otherwise, create statically linked i686 host binaries (which
# should run on an x86-64 host just fine, even if it hasn't got 32-bit
# libraries installed).

  STAGE_NAME=cross-compiler ./ "$1" || exit 1

# Run the cross compiler smoke test if requested.

if [ ! -z "$CROSS_SMOKE_TEST" ]
  more/ "$ARCH" || exit 1