view run-from-build.sh @ 1028:5897a868313e

Jean-Christophe Dubois pointed out that if build.sh doesn't source config, it doesn't get things like NO_NATIVE_COMPILER.
author Rob Landley <rob@landley.net>
date Mon, 05 Apr 2010 18:39:09 -0500
parents ac61473c45e8
children 690b2f4cbbd3
line wrap: on
line source

#!/bin/bash

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

TOP="$(pwd)"
export PATH="$TOP/build/host:$TOP/build/cross-compiler-$1/bin:$TOP/build/simple-cross-compiler-$1/bin:$PATH"

# Run development environment.

cd build/system-image-"$1" && ./dev-environment.sh