aboutsummaryrefslogtreecommitdiffstats
path: root/org.openembedded.bc.ui/src/org/openembedded/bc/ui/actions/BitbakeRebuildRecipeAction.java
blob: 0840228b8b59e24c9b9ae67999248d103921f296 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 " + getRecipeFromIFile(recipe)};
	}

	@Override
	public String getJobTitle() {
		return "Rebuilding " + recipe.getName();
	}
}