Mercurial > hg > aboriginal
changeset 1263:82a4e3d3a5ff
Teach native-build.sh to pass in the name of the build control image.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 07 Oct 2010 23:58:14 -0500 |
parents | f5c448622393 |
children | 5c7b6fb032ba |
files | sources/toys/native-build.sh |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/toys/native-build.sh Thu Oct 07 23:55:46 2010 -0500 +++ b/sources/toys/native-build.sh Thu Oct 07 23:58:14 2010 -0500 @@ -69,8 +69,11 @@ # Run emulator as a child process, feeding in -hdc and some extra environment # variables so it auto-launches the build process. +export HDC="$HDCFILE" +NATIVE_BUILD="$(echo "$HDCFILE" | sed -e 's@.*/@@' -e 's@[.]hdc$@@')" +export KERNEL_EXTRA="FTP_SERVER=$FTP_SERVER FTP_PORT=$FTP_PORT NATIVE_BUILD=$NATIVE_BUILD $KERNEL_EXTRA" + rm -f hdb.img -HDC="$HDCFILE" KERNEL_EXTRA="FTP_SERVER=$FTP_SERVER FTP_PORT=$FTP_PORT" \ - ./dev-environment.sh +./dev-environment.sh echo === End native build