diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-05-05 15:06:28 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-12 12:14:13 +0100 |
commit | a5193d3c7f1562ea6858c5b992159d79f58f644b (patch) | |
tree | 65169b384f52e35c981ba7c7b215499931230db6 /bitbake | |
parent | 44b7b671541e24ff9063cd71ad56b1b6dfd41651 (diff) | |
download | poky-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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/projectapp.js | 2 |
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 | |||
357 | }; | 357 | }; |
358 | 358 | ||
359 | $scope.buildExistingTarget = function(targets) { | 359 | $scope.buildExistingTarget = function(targets) { |
360 | $scope.buildTargetList(targets.map(function(v){return v.target;})); | 360 | $scope.buildTargetList(targets.map(function(v){return ((v.task) ? v.target + ":" + v.task : v.target);})); |
361 | }; | 361 | }; |
362 | 362 | ||
363 | $scope.buildTargetList = function(targetlist) { | 363 | $scope.buildTargetList = function(targetlist) { |