Mercurial > hg > aboriginal
diff mini-native.sh @ 44:41e82517e123
Helps to check in something that isn't _obviously_ broken. :)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 17 Dec 2006 14:55:24 -0500 |
parents | 6d16887ec084 |
children | eeddef87a747 |
line wrap: on
line diff
--- 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