view run-from-build.sh @ 714:db04bd3c11e0

First pass at canadian cross toolchain build. Result doesn't actually work yet, but it builds.
author Rob Landley <rob@landley.net>
date Thu, 16 Apr 2009 06:21:50 -0500
parents ea25e4da724e
children 759adf5a0fe9
line wrap: on
line source

#!/bin/bash

source sources/include.sh || exit 1

cd "${BUILD}/system-image-$ARCH_NAME" || exit 1

# A little paranoia.
[ -f "image-${ARCH}.ext2" ] && fsck.ext2 -y "image-${ARCH}.ext2" </dev/null

# And run it, using the distccd we built (if necessary) and the cross-compiler.

./run-emulator.sh --make-hdb 2048 --memory 256 --with-distcc \
	"${BUILD}/cross-compiler-${ARCH}"