aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-05-05 15:06:28 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-12 12:14:13 +0100
commita5193d3c7f1562ea6858c5b992159d79f58f644b (patch)
tree65169b384f52e35c981ba7c7b215499931230db6
parent44b7b671541e24ff9063cd71ad56b1b6dfd41651 (diff)
downloadopenembedded-core-contrib-a5193d3c7f1562ea6858c5b992159d79f58f644b.tar.gz
bitbake: toastergui: Consider task name when restarting a build
'Run again' button now restarts the build using target:task if task was specified for the build. [YOCTO #7442] (Bitbake rev: 420b197227394b341bcc1075bc298ecf2aabec46) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/projectapp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/projectapp.js b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
index 43436c5e69..a3309c76af 100644
--- a/bitbake/lib/toaster/toastergui/static/js/projectapp.js
+++ b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
@@ -357,7 +357,7 @@ projectApp.controller('prjCtrl', function($scope, $modal, $http, $interval, $loc
};
$scope.buildExistingTarget = function(targets) {
- $scope.buildTargetList(targets.map(function(v){return v.target;}));
+ $scope.buildTargetList(targets.map(function(v){return ((v.task) ? v.target + ":" + v.task : v.target);}));
};
$scope.buildTargetList = function(targetlist) {