# HG changeset patch # User Rob Landley # Date 1269626330 18000 # Node ID 1b364391e821da8c0c9e60dd94f78a95dade319e # Parent 98dbfffd3b0aa0bd48d0993ce4e1b3d942d3c150 Bug spotted by Milton Miller: create stage tarball _after_ the compile smoketest. diff -r 98dbfffd3b0a -r 1b364391e821 simple-cross-compiler.sh --- a/simple-cross-compiler.sh Fri Mar 26 04:57:11 2010 -0500 +++ b/simple-cross-compiler.sh Fri Mar 26 12:58:50 2010 -0500 @@ -61,10 +61,6 @@ done fi -# Tar it up - -create_stage_tarball - # A quick hello world program to test the cross compiler out. # Build hello.c dynamic, then static, to verify header/library paths. @@ -73,6 +69,8 @@ "${ARCH}-gcc" -Os "${SOURCES}/toys/hello.c" -o "$WORK"/hello && "${ARCH}-gcc" -Os -static "${SOURCES}/toys/hello.c" -o "$WORK"/hello || dienow -[ $? -ne 0 ] && dienow +# Tar it up + +create_stage_tarball echo -e "\e[32mCross compiler toolchain build complete.\e[0m"