mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 08:48:45 +01:00
The example recipe is setup to print a message using bb.plain() in the "do_build" task but this task is "noexec" so the message never prints. This might be confusing. This moves the message printing into another "do_display_banner" task and add it to the do_build "before" list. (From OE-Core rev: 252385bef9b226f32691b8513869ea3e41813b40) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 lines
496 B
BlitzBasic
14 lines
496 B
BlitzBasic
SUMMARY = "bitbake-layers recipe"
|
|
DESCRIPTION = "Recipe created by bitbake-layers"
|
|
LICENSE = "MIT"
|
|
|
|
python do_display_banner() {
|
|
bb.plain("***********************************************");
|
|
bb.plain("* *");
|
|
bb.plain("* Example recipe created by bitbake-layers *");
|
|
bb.plain("* *");
|
|
bb.plain("***********************************************");
|
|
}
|
|
|
|
addtask display_banner before do_build
|