diff options
| -rw-r--r-- | meta/lib/bblayers/templates/example.bb | 4 |
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" | |||
| 2 | DESCRIPTION = "Recipe created by bitbake-layers" | 2 | DESCRIPTION = "Recipe created by bitbake-layers" |
| 3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
| 4 | 4 | ||
| 5 | python do_build() { | 5 | python 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 | |||
| 13 | addtask display_banner before do_build | ||
