Mercurial > hg > aboriginal
view more/native-build-from-build.sh @ 1499:461d70885b17
Fix toybox build script.
CROSS_COMPILE needs to be an environment variable, not a make variable (otherwise it doesn't get automatically exported).
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 04 Feb 2012 13:29:02 -0600 |
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"