view run-from-build.sh @ 863:4bfe2b34dd9f

Largeish refactoring/simplification of run-emulator.sh and associated code. Now automatically sets up the distcc trick if the appropriate $ARCH-cc toolchain is in the $PATH (or the current directory).
author Rob Landley <rob@landley.net>
date Mon, 26 Oct 2009 06:09:29 -0500
parents aea72ecff868
children abff74b958a1
line wrap: on
line source

#!/bin/bash

# Grab cross compiler (for distcc) and run development environment.

export PATH="$(pwd)/build/host:$(pwd)/build/cross-compiler-$1/bin:$PATH" &&
cd build/system-image-"$1" &&
./dev-environment.sh