Mercurial > hg > aboriginal
view more/native-build-from-build.sh @ 1458:60f1087591ac
Add ability to specify a package to rebuild to build.sh with REBUILD= (and then dependencies take it from there to the system image).
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 20 Oct 2011 02:02:10 -0500 |
parents | 6173bb6f3b2c |
children | b89324905ca2 |
line wrap: on
line source
#!/bin/bash # Run native build out of build directory, using host-tools.sh if # available. PATH="$(pwd)/build/host:$PATH" X=$(readlink -f "$2" 2>/dev/null) if [ -z "$X" ] then echo "No control image $2" >&2 exit 1 fi cd build/system-image-"$1" && ./native-build.sh "$X"