view run-from-build.sh @ 999:4bd1bc15a744

Move distcc setup to dev-environment.sh. Fix bug where CPUS wasn't defined if distcc wasn't being used (leading to make -j with no limit, and OOM conditions in the emulated system).
author Rob Landley <rob@landley.net>
date Mon, 15 Mar 2010 06:01:36 -0500
parents fc134a13357e
children ac61473c45e8
line wrap: on
line source

#!/bin/bash

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

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

# Run development environment.

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