mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
bitbake: toaster: BuildButton target input allow building targets with tasks
Allow the input for targets to contain tasks in the form target:task [YOCTO #7501] (Bitbake rev: cf7d0418ff2d4aec508c7942f96e9b52a491b25e) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fab29bd737
commit
0405ef3816
@@ -88,10 +88,9 @@ function basePageInit (ctx) {
|
||||
if (!newBuildTargetInput.val())
|
||||
return;
|
||||
|
||||
if (!selectedTarget)
|
||||
selectedTarget = { name: newBuildTargetInput.val() };
|
||||
var selectedTargetName = newBuildTargetInput.val();
|
||||
/* fire and forget */
|
||||
libtoaster.startABuild(ctx.projectBuildUrl, ctx.projectId, selectedTarget.name, null, null);
|
||||
libtoaster.startABuild(ctx.projectBuildUrl, ctx.projectId, selectedTargetName, null, null);
|
||||
window.location.replace(ctx.projectPageUrl+ctx.projectId);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user