# HG changeset patch # User Rob Landley # Date 1166385324 18000 # Node ID 41e82517e12368e2fb3e7f6f9c2e83765e8638ad # Parent 6d16887ec084b1a3ee8ea2823b382d4b5d8e7bcc Helps to check in something that isn't _obviously_ broken. :) diff -r 6d16887ec084 -r 41e82517e123 mini-native.sh --- a/mini-native.sh Sun Dec 17 14:21:02 2006 -0500 +++ b/mini-native.sh Sun Dec 17 14:55:24 2006 -0500 @@ -7,9 +7,6 @@ mkdir -p "${TOOLS}/bin" || dienow -if false -then - # Build qemu setupfor qemu && ./configure --disable-gcc-check --prefix="${NATIVE}" && @@ -94,15 +91,15 @@ mv "${TOOLS}"/lib/gcc/*/* "${TOOLS}"/gcc/lib && $CLEANUP "${TOOLS}"/{lib/gcc,gcc/lib/install-tools} && -exit 0 - # Build and install gcc wrapper script. -mv "$GCCNAME" "${CROSS}"/bin/gcc-unwrapped && -gcc "${TOP}"/sources/toys/gcc-uClibc.c -Os -s -o "$GCCNAME" +mv "${TOOLS}/bin/${ARCH}-gcc" "${TOOLS}/bin/gcc-unwrapped" && +gcc "${TOP}"/sources/toys/gcc-uClibc.c -Os -s -o "${TOOLS}/bin/${ARCH}-gcc" [ $? -ne 0 ] && dienow +exit 0 + # Install the linux kernel, and kernel headers. setupfor linux