summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-autobuild8
-rwxr-xr-xscripts/poky-env-internal11
2 files changed, 9 insertions, 10 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild
index 1dd31e2a84..752e0a7bb0 100755
--- a/scripts/poky-autobuild
+++ b/scripts/poky-autobuild
@@ -31,13 +31,11 @@ if [ "xpreamble" = "x$1" ]; then
31 exit 0 31 exit 0
32fi 32fi
33 33
34BBTARGET="$1" 34BDIR="build"
35shift
36
37. ./scripts/poky-env-internal 35. ./scripts/poky-env-internal
38POSTPROCESS=`which poky-autobuild-postprocess` 36POSTPROCESS=`which poky-autobuild-postprocess`
39 37
40if [ "xcomplete" = "x$BBTARGET" ]; then 38if [ "xcomplete" = "x$1" ]; then
41 touch ./tmp/deploy/images/images-complete 39 touch ./tmp/deploy/images/images-complete
42 chmod a+w ./tmp/deploy/images/images-complete 40 chmod a+w ./tmp/deploy/images/images-complete
43 cd .. 41 cd ..
@@ -59,7 +57,7 @@ if [ ! -e "$CONFFILE" ]; then
59 echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE" 57 echo 'DL_DIR = "/srv/poky/sources"' >> "$CONFFILE"
60fi 58fi
61 59
62bitbake $BBTARGET 60bitbake $@
63 61
64cd .. 62cd ..
65 63
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index 489956ebce..78646e3c6e 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -23,11 +23,12 @@
23# Also update the locations at the top of conf/local.conf 23# Also update the locations at the top of conf/local.conf
24 24
25OEROOT=`pwd` 25OEROOT=`pwd`
26 26if [ "x$BDIR" = "x" ]; then
27if [ "x$1" = "x" ]; then 27 if [ "x$1" = "x" ]; then
28 BDIR="build" 28 BDIR="build"
29else 29 else
30 BDIR="$1" 30 BDIR="$1"
31 fi
31fi 32fi
32 33
33BBDIR="$OEROOT/bitbake/" 34BBDIR="$OEROOT/bitbake/"