Mercurial > hg > aboriginal
comparison sources/toys/native-build.sh @ 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 | fd67d5a442c9 |
children | 8e10d025f1a5 |
comparison
equal
deleted
inserted
replaced
1262:f5c448622393 | 1263:82a4e3d3a5ff |
---|---|
67 fi | 67 fi |
68 | 68 |
69 # Run emulator as a child process, feeding in -hdc and some extra environment | 69 # Run emulator as a child process, feeding in -hdc and some extra environment |
70 # variables so it auto-launches the build process. | 70 # variables so it auto-launches the build process. |
71 | 71 |
72 export HDC="$HDCFILE" | |
73 NATIVE_BUILD="$(echo "$HDCFILE" | sed -e 's@.*/@@' -e 's@[.]hdc$@@')" | |
74 export KERNEL_EXTRA="FTP_SERVER=$FTP_SERVER FTP_PORT=$FTP_PORT NATIVE_BUILD=$NATIVE_BUILD $KERNEL_EXTRA" | |
75 | |
72 rm -f hdb.img | 76 rm -f hdb.img |
73 HDC="$HDCFILE" KERNEL_EXTRA="FTP_SERVER=$FTP_SERVER FTP_PORT=$FTP_PORT" \ | 77 ./dev-environment.sh |
74 ./dev-environment.sh | |
75 | 78 |
76 echo === End native build | 79 echo === End native build |