summaryrefslogtreecommitdiff
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)
downloadopenembedded-core-40d86fde50f27aa4a6ad7cc5b7eefa5f7cf8b745.tar.gz
openembedded-core-40d86fde50f27aa4a6ad7cc5b7eefa5f7cf8b745.tar.bz2
openembedded-core-40d86fde50f27aa4a6ad7cc5b7eefa5f7cf8b745.zip
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
exit 0
fi
+BBTARGET="$1"
+shift
+
. ./scripts/poky-env-internal
POSTPROCESS=`which poky-autobuild-postprocess`
-if [ "xcomplete" = "x$1" ]; then
+if [ "xcomplete" = "x$BBTARGET" ]; then
touch ./build/tmp/deploy/images/images-complete
chmod a+w ./build/tmp/deploy/images/images-complete
if [ "x$POSTPROCESS" != "x" ]; then
@@ -55,9 +58,6 @@ if [ ! -e "$CONFFILE" ]; then
echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
fi
-BBTARGET="$1"
-shift
-
bitbake $BBTARGET
if [ "x$POSTPROCESS" != "x" ]; then