From 2bd1dc287b8b0f7edac8c6fee076a70ebf7adf43 Mon Sep 17 00:00:00 2001 From: Leonardo Sandoval Date: Tue, 25 Jul 2017 15:37:17 -0700 Subject: action: new bitbake-layer plugin to create a simple layer Though the script bitbake-layers (from the bitbake project), this plugin creates a simple layer with a example recipe, the latter with a single task (do_build). Layer's license and priority is MIT and 6, respectively. Example recipe and layer's priority can be specified through the command line. [YOCTO #11567] Signed-off-by: Leonardo Sandoval Signed-off-by: Ross Burton --- meta/lib/bblayers/templates/example.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/lib/bblayers/templates/example.bb (limited to 'meta/lib/bblayers/templates/example.bb') diff --git a/meta/lib/bblayers/templates/example.bb b/meta/lib/bblayers/templates/example.bb new file mode 100644 index 0000000000..c4b873d593 --- /dev/null +++ b/meta/lib/bblayers/templates/example.bb @@ -0,0 +1,11 @@ +SUMMARY = "bitbake-layers recipe" +DESCRIPTION = "Recipe created by bitbake-layers" +LICENSE = "MIT" + +python do_build() { + bb.plain("***********************************************"); + bb.plain("* *"); + bb.plain("* Example recipe created by bitbake-layers *"); + bb.plain("* *"); + bb.plain("***********************************************"); +} -- cgit v1.2.3