view run-from-build.sh @ 887:2499abcf2df1

Add a clean.sh script, to "rm -rf build/*-*". What it does is fairly trivial, but not necessarily obvious, and it's an excuse to add a big comment explaining things.
author Rob Landley <rob@landley.net>
date Sun, 15 Nov 2009 14:50:25 -0600
parents 4bfe2b34dd9f
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