Dear community!

I know this could be a funny question, but I wanted to use the "printhello" recipe as a basic example. But looks like, that is little bit "out-of-date".

I know, that I can crate a custom recipe, but I wanted to use something "standard", so I took poky/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.rst and created an "printhello.bb" out of it. I made some modifications to try to make it working.

 DESCRIPTION = "Prints Hello World"
+LICENSE = "CLOSED"
 PN = 'printhello'
 PV = '1'

+ inherit allarch

 python do_build() {
-   bb.plain("********************");
-   bb.plain("*                  *");
-   bb.plain("*  Hello, World!   *");
-   bb.plain("*                  *");
-   bb.plain("********************");
+   bb.warn("********************");
+   bb.warn("*                  *");
+   bb.warn("*  Hello, World!   *");
+   bb.warn("*                  *");
+   bb.warn("********************");
 }

+SSTATE_SKIP_CREATION = "1"

Even if I made these modifications nothing has been printed in terminal.
So the question is how good is the example?

Thank you,
Andy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#203156): 
https://lists.openembedded.org/g/openembedded-core/message/203156
Mute This Topic: https://lists.openembedded.org/mt/107804007/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to