Project

General

Profile

Support #600

Bitbake Cheat Sheet

Added by Daniel Curtis almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development Environment
Target version:
Start date:
04/18/2015
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

Building

  • To get a package build just type
    bitbake foo
    

    where foo is the name of the package without any extension or version number.

Clean up

  • This command will clean up your tmp dir for the given package. It is very useful if you work on a new .bb recipe. Without it your changes to the recipe may not work:
    bitbake -c clean foo
    

Working with tmp/work

  • To recompile your source code if you change a line in it.
    bitbake -f -c compile foo
    
  • To build the ipk use the command below
    bitbake foo
    
  • Check Recipe Version
    bitbake -s | grep foo
    
  • Check Bitbake Version
    bitbake --version
    
  • Run Bitbake A Little at a Time
    bitbake -n foo
    
    • Lists the tasks
      bitbake -c taskname foo
      

Resources

#1

Updated by Daniel Curtis almost 9 years ago

  • % Done changed from 0 to 100
#2

Updated by Daniel Curtis almost 9 years ago

  • Status changed from New to Resolved
#3

Updated by Daniel Curtis almost 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF