BitBake (dev): Difference between revisions

From Openembedded.org
Jump to navigation Jump to search
No edit summary
Line 17: Line 17:


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

Revision as of 09:22, 1 October 2008

Where are all bitbake hot information !!

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.note("Hello from helloworld using lib bb v%s." % ( version ))