mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 08:02:30 +02:00
bitbake: toaster: New build button allow arbitrary build targets
Target input field needed to support both selecting suggestions and typing targets, since Toaster doesn't always know about all the targets provided by the layers in the project. [YOCTO #7187] (Bitbake rev: d753db7a18eb9218016e586171d2a08298a0b05d) 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
9819728e12
commit
82d2c502c2
@@ -88,6 +88,8 @@ function basePageInit (ctx) {
|
||||
if (!newBuildTargetInput.val())
|
||||
return;
|
||||
|
||||
if (!selectedTarget)
|
||||
selectedTarget = { name: newBuildTargetInput.val() };
|
||||
/* fire and forget */
|
||||
libtoaster.startABuild(ctx.projectBuildUrl, ctx.projectId, selectedTarget.name, null, null);
|
||||
window.location.replace(ctx.projectPageUrl+ctx.projectId);
|
||||
|
||||
Reference in New Issue
Block a user