[Toaster] [PATCH] bitbake: toaster: New build button allow arbitrary build targets
Damian, Alexandru
alexandru.damian at intel.com
Fri Feb 13 08:35:09 PST 2015
Taken for submission,
Thank you,
Alex
On Fri, Feb 6, 2015 at 7:22 PM, Michael Wood <michael.g.wood at intel.com>
wrote:
> 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]
>
> Signed-off-by: Michael Wood <michael.g.wood at intel.com>
> ---
> bitbake/lib/toaster/toastergui/static/js/base.js | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/bitbake/lib/toaster/toastergui/static/js/base.js
> b/bitbake/lib/toaster/toastergui/static/js/base.js
> index 0302b80..777ab43 100644
> --- a/bitbake/lib/toaster/toastergui/static/js/base.js
> +++ b/bitbake/lib/toaster/toastergui/static/js/base.js
> @@ -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);
> --
> 2.1.0
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>
--
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150213/dcc5f4eb/attachment.html>
More information about the toaster
mailing list