Difference between revisions of "BitBake (dev)"

From Openembedded.org
Jump to: navigation, search
(Helloworld using lib bb)
(Bitbake)
Line 1: Line 1:
= Bitbake =
 
 
Where are all bitbake hot information !!
 
Where are all bitbake hot information !!
  
 
* First , RTFM ;-) : http://bitbake.berlios.de/manual/
 
* First , RTFM ;-) : http://bitbake.berlios.de/manual/
Best documentation for source is via python documentation system.  
+
Best documentation for source is via python documentation system.
 
 
 
 
  
 
= Helloworld using lib bb =
 
= Helloworld using lib bb =

Revision as of 08:57, 1 October 2008

Where are all bitbake hot information !!

Best documentation for source is via python documentation system.

Helloworld using lib bb

#!/usr/bin/env python
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-

import bb

version = bb.__version__
bb.msg.note(1, 0, "Hello from helloworld using lib bb v%s." % ( version ))