summaryrefslogtreecommitdiff
path: root/scripts/poky-autobuild
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/poky-autobuild')
-rwxr-xr-xscripts/poky-autobuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/poky-autobuild b/scripts/poky-autobuild
index 7e027ba9f..586a57eb5 100755
--- a/scripts/poky-autobuild
+++ b/scripts/poky-autobuild
@@ -31,10 +31,11 @@ if [ "xpreamble" = "x$1" ]; then
exit 0
fi
+POSTPROCESS=`which poky-autobuild-postprocess`
+
if [ "xcomplete" = "x$1" ]; then
touch ./build/tmp/deploy/images/images-complete
chmod a+w ./build/tmp/deploy/images/images-complete
- POSTPROCESS=`which poky-autobuild-postprocess`
if [ "x$POSTPROCESS" != "x" ]; then
$POSTPROCESS `pwd`
fi
@@ -59,3 +60,8 @@ shift
. ./scripts/poky-env-internal
bitbake $BBTARGET
+
+if [ "x$POSTPROCESS" != "x" ]; then
+ $POSTPROCESS `pwd`
+fi
+