diff options
Diffstat (limited to 'org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeRebuildRecipeAction.java')
-rw-r--r-- | org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeRebuildRecipeAction.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeRebuildRecipeAction.java b/org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeRebuildRecipeAction.java new file mode 100644 index 0000000..f968b12 --- /dev/null +++ b/org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeRebuildRecipeAction.java @@ -0,0 +1,29 @@ +/***************************************************************************** + * Copyright (c) 2009 Ken Gilmer + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ken Gilmer - initial API and implementation + *******************************************************************************/ +package org.openembedded.bc.ui.actions; + +/** + * Rebuild a recipe. + * @author kgilmer + * + */ +public class BitbakeRebuildRecipeAction extends AbstractBitbakeCommandAction { + + @Override + public String [] getCommands() { + return new String[] {"bitbake -c rebuild -b " + recipe.getLocationURI().getPath()}; + } + + @Override + public String getJobTitle() { + return "Rebuilding " + recipe.getName(); + } +}
\ No newline at end of file |