Mercurial > hg > aboriginal
diff simple-cross-compiler.sh @ 1116:2b68517f5b62
Break out simple-root-filesystem.sh and root-filesystem.sh (adding native-compiler.sh output), and use NO_NATIVE_COMPILER to determine which to use. Rename STATIC_CC_HOST to CROSS_HOST_ARCH.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 16 Jun 2010 08:11:51 -0500 |
parents | affef1edbdba |
children | 300e6d919d86 |
line wrap: on
line diff
--- a/simple-cross-compiler.sh Wed Jun 16 08:03:12 2010 -0500 +++ b/simple-cross-compiler.sh Wed Jun 16 08:11:51 2010 -0500 @@ -70,6 +70,13 @@ "${ARCH}-gcc" -Os "${SOURCES}/toys/hello.c" -o "$WORK"/hello && "${ARCH}-gcc" -Os -static "${SOURCES}/toys/hello.c" -o "$WORK"/hello || dienow +# Does the hello world we just built actually run? + +if [ ! -z "$CROSS_SMOKE_TEST" ] +then + sources/more/cross-smoke-test.sh "$ARCH" || exit 1 +fi + # Tar it up create_stage_tarball