diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-04-28 19:29:37 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-04-28 19:29:37 +0000 |
| commit | 40d86fde50f27aa4a6ad7cc5b7eefa5f7cf8b745 (patch) | |
| tree | bd6454e78b8102a8dd50c5f3f48d030a2b7953c0 | |
| parent | 46e8a36d8e81083621d22431fa574e653253dcce (diff) | |
| download | poky-40d86fde50f27aa4a6ad7cc5b7eefa5f7cf8b745.tar.gz | |
scripts/poky-autobuild: Fix ordering
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4362 311d38ba-8fff-0310-9ca6-ca027cbcb966
| -rwxr-xr-x | scripts/poky-autobuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild index b4a4790841..bacaca97cd 100755 --- a/scripts/poky-autobuild +++ b/scripts/poky-autobuild | |||
| @@ -31,10 +31,13 @@ if [ "xpreamble" = "x$1" ]; then | |||
| 31 | exit 0 | 31 | exit 0 |
| 32 | fi | 32 | fi |
| 33 | 33 | ||
| 34 | BBTARGET="$1" | ||
| 35 | shift | ||
| 36 | |||
| 34 | . ./scripts/poky-env-internal | 37 | . ./scripts/poky-env-internal |
| 35 | POSTPROCESS=`which poky-autobuild-postprocess` | 38 | POSTPROCESS=`which poky-autobuild-postprocess` |
| 36 | 39 | ||
| 37 | if [ "xcomplete" = "x$1" ]; then | 40 | if [ "xcomplete" = "x$BBTARGET" ]; then |
| 38 | touch ./build/tmp/deploy/images/images-complete | 41 | touch ./build/tmp/deploy/images/images-complete |
| 39 | chmod a+w ./build/tmp/deploy/images/images-complete | 42 | chmod a+w ./build/tmp/deploy/images/images-complete |
| 40 | if [ "x$POSTPROCESS" != "x" ]; then | 43 | if [ "x$POSTPROCESS" != "x" ]; then |
| @@ -55,9 +58,6 @@ if [ ! -e "$CONFFILE" ]; then | |||
| 55 | echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE" | 58 | echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE" |
| 56 | fi | 59 | fi |
| 57 | 60 | ||
| 58 | BBTARGET="$1" | ||
| 59 | shift | ||
| 60 | |||
| 61 | bitbake $BBTARGET | 61 | bitbake $BBTARGET |
| 62 | 62 | ||
| 63 | if [ "x$POSTPROCESS" != "x" ]; then | 63 | if [ "x$POSTPROCESS" != "x" ]; then |
