[bitbake-devel] [PATCH 07/11] toastergui: Consider task name when restarting a build
Alex DAMIAN
alexandru.damian at intel.com
Mon May 11 10:58:38 UTC 2015
From: Ed Bartosh <ed.bartosh at linux.intel.com>
'Run again' button now restarts the build using target:task if task
was specified for the build.
[YOCTO #7442]
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
lib/toaster/toastergui/static/js/projectapp.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/toaster/toastergui/static/js/projectapp.js b/lib/toaster/toastergui/static/js/projectapp.js
index 43436c5..a3309c7 100644
--- a/lib/toaster/toastergui/static/js/projectapp.js
+++ b/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) {
--
1.9.1
More information about the bitbake-devel
mailing list