Mercurial > hg > aboriginal
changeset 250:cef5bbd777fa
Make sure error return from setupfor is noticed.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 05 Nov 2007 15:39:28 -0600 |
parents | c95713e54437 |
children | d7efae83fa57 |
files | cross-compiler.sh |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/cross-compiler.sh Mon Nov 05 03:46:54 2007 -0600 +++ b/cross-compiler.sh Mon Nov 05 15:39:28 2007 -0600 @@ -15,7 +15,7 @@ # Build and install binutils -setupfor binutils build-binutils +setupfor binutils build-binutils && "${CURSRC}/configure" --prefix="${CROSS}" --host=${CROSS_HOST} \ --target=${CROSS_TARGET} --with-lib-path=lib --disable-nls \ --disable-shared --disable-multilib --program-prefix="${ARCH}-" \ @@ -32,7 +32,7 @@ # Build and install gcc -setupfor gcc-core build-gcc +setupfor gcc-core build-gcc && AR_FOR_TARGET="${ARCH}-ar" "${CURSRC}/configure" $GCC_FLAGS \ --prefix="${CROSS}" --host=${CROSS_HOST} --target=${CROSS_TARGET} \ --enable-languages=c --disable-threads --disable-multilib \ @@ -70,7 +70,7 @@ # Install kernel headers. -setupfor linux +setupfor linux && # Install Linux kernel headers (for use by uClibc). make -j $CPUS headers_install ARCH="${KARCH}" INSTALL_HDR_PATH="${CROSS}" && cd .. && @@ -80,7 +80,7 @@ # Build and install uClibc -setupfor uClibc +setupfor uClibc && make CROSS= allnoconfig KCONFIG_ALLCONFIG="${WORK}"/miniconfig-uClibc && # Can't use -j here, build is unstable. make CROSS="${ARCH}-" KERNEL_HEADERS="${CROSS}/include" PREFIX="${CROSS}/" \