diff options
Diffstat (limited to 'plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/actions/BitbakeBuildRecipeAction.java')
-rw-r--r-- | plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/actions/BitbakeBuildRecipeAction.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/actions/BitbakeBuildRecipeAction.java b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/actions/BitbakeBuildRecipeAction.java new file mode 100644 index 0000000..22ac94c --- /dev/null +++ b/plugins/org.yocto.bc.ui/src/org/yocto/bc/ui/actions/BitbakeBuildRecipeAction.java | |||
@@ -0,0 +1,24 @@ | |||
1 | /***************************************************************************** | ||
2 | * Copyright (c) 2009 Ken Gilmer | ||
3 | * All rights reserved. This program and the accompanying materials | ||
4 | * are made available under the terms of the Eclipse Public License v1.0 | ||
5 | * which accompanies this distribution, and is available at | ||
6 | * http://www.eclipse.org/legal/epl-v10.html | ||
7 | * | ||
8 | * Contributors: | ||
9 | * Ken Gilmer - initial API and implementation | ||
10 | *******************************************************************************/ | ||
11 | package org.yocto.bc.ui.actions; | ||
12 | |||
13 | public class BitbakeBuildRecipeAction extends AbstractBitbakeCommandAction { | ||
14 | |||
15 | @Override | ||
16 | public String [] getCommands() { | ||
17 | return new String[] {"bitbake -b " + recipe.getLocationURI().getPath()}; | ||
18 | } | ||
19 | |||
20 | @Override | ||
21 | public String getJobTitle() { | ||
22 | return "Building " + recipe.getName(); | ||
23 | } | ||
24 | } \ No newline at end of file | ||