Difference between revisions of "BitBake (dev)"

From Openembedded.org
Jump to: navigation, search
(New page: = Bitbake = Where are all bitbake hot information !! * First , RTFM ;-) : http://bitbake.berlios.de/manual/ Best documentation for source is via python documentation system. = Hellowo...)
 
(Helloworld using lib bb)
Line 9: Line 9:
 
= Helloworld using lib bb =
 
= Helloworld using lib bb =
  
 
+
<pre>
 
#!/usr/bin/env python
 
#!/usr/bin/env python
 
# ex:ts=4:sw=4:sts=4:et
 
# ex:ts=4:sw=4:sts=4:et
Line 18: Line 18:
 
version = bb.__version__
 
version = bb.__version__
 
bb.msg.note(1, 0, "Hello from helloworld using lib bb v%s." % ( version ))
 
bb.msg.note(1, 0, "Hello from helloworld using lib bb v%s." % ( version ))
 +
</pre>

Revision as of 08:51, 1 October 2008

Bitbake

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 ))