summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-28 19:29:37 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-28 19:29:37 +0000
commit40d86fde50f27aa4a6ad7cc5b7eefa5f7cf8b745 (patch)
treebd6454e78b8102a8dd50c5f3f48d030a2b7953c0 /scripts
parent46e8a36d8e81083621d22431fa574e653253dcce (diff)
downloadpoky-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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-autobuild8
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
32fi 32fi
33 33
34BBTARGET="$1"
35shift
36
34. ./scripts/poky-env-internal 37. ./scripts/poky-env-internal
35POSTPROCESS=`which poky-autobuild-postprocess` 38POSTPROCESS=`which poky-autobuild-postprocess`
36 39
37if [ "xcomplete" = "x$1" ]; then 40if [ "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"
56fi 59fi
57 60
58BBTARGET="$1"
59shift
60
61bitbake $BBTARGET 61bitbake $BBTARGET
62 62
63if [ "x$POSTPROCESS" != "x" ]; then 63if [ "x$POSTPROCESS" != "x" ]; then