view run-from-build.sh @ 1036:e021bba5e22e

Yank ugly STAGE_DIR adjustment and instead teach busybox/toybox bilds to auto-detect "bin" directory on install. (And while we're at it, don't build hello-dynamic on static-only system.)
author Rob Landley <rob@landley.net>
date Mon, 12 Apr 2010 00:04:11 -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