summaryrefslogtreecommitdiffstats
path: root/meta/lib/bblayers/templates/example.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/bblayers/templates/example.bb')
-rw-r--r--meta/lib/bblayers/templates/example.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/bblayers/templates/example.bb b/meta/lib/bblayers/templates/example.bb
index c4b873d593..facaae35d2 100644
--- a/meta/lib/bblayers/templates/example.bb
+++ b/meta/lib/bblayers/templates/example.bb
@@ -2,10 +2,12 @@ SUMMARY = "bitbake-layers recipe"
2DESCRIPTION = "Recipe created by bitbake-layers" 2DESCRIPTION = "Recipe created by bitbake-layers"
3LICENSE = "MIT" 3LICENSE = "MIT"
4 4
5python do_build() { 5python do_display_banner() {
6 bb.plain("***********************************************"); 6 bb.plain("***********************************************");
7 bb.plain("* *"); 7 bb.plain("* *");
8 bb.plain("* Example recipe created by bitbake-layers *"); 8 bb.plain("* Example recipe created by bitbake-layers *");
9 bb.plain("* *"); 9 bb.plain("* *");
10 bb.plain("***********************************************"); 10 bb.plain("***********************************************");
11} 11}
12
13addtask display_banner before do_build