diff options
author | Dave Cobbley <david.j.cobbley@linux.intel.com> | 2018-08-14 20:05:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-08-23 04:26:31 +0300 |
commit | eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 (patch) | |
tree | de291a73dc37168da6370e2cf16c347d1eba9df8 /poky/meta/lib/bblayers/templates | |
parent | 9c3cf826d853102535ead04cebc2d6023eff3032 (diff) | |
download | openbmc-eb8dc40360f0cfef56fb6947cc817a547d6d9bc6.tar.xz |
[Subtree] Removing import-layers directory
As part of the move to subtrees, need to bring all the import layers
content to the top level.
Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'poky/meta/lib/bblayers/templates')
-rw-r--r-- | poky/meta/lib/bblayers/templates/README | 41 | ||||
-rw-r--r-- | poky/meta/lib/bblayers/templates/example.bb | 11 | ||||
-rw-r--r-- | poky/meta/lib/bblayers/templates/layer.conf | 10 |
3 files changed, 62 insertions, 0 deletions
diff --git a/poky/meta/lib/bblayers/templates/README b/poky/meta/lib/bblayers/templates/README new file mode 100644 index 000000000..5a77f8d34 --- /dev/null +++ b/poky/meta/lib/bblayers/templates/README @@ -0,0 +1,41 @@ +This README file contains information on the contents of the %s layer. + +Please see the corresponding sections below for details. + +Dependencies +============ + + URI: <first dependency> + branch: <branch name> + + URI: <second dependency> + branch: <branch name> + + . + . + . + +Patches +======= + +Please submit any patches against the %s layer to the xxxx mailing list (xxxx@zzzz.org) +and cc: the maintainer: + +Maintainer: XXX YYYYYY <xxx.yyyyyy@zzzzz.com> + +Table of Contents +================= + + I. Adding the %s layer to your build + II. Misc + + +I. Adding the %s layer to your build +================================================= + +Run 'bitbake-layers add-layer %s' + +II. Misc +======== + +--- replace with specific information about the %s layer --- diff --git a/poky/meta/lib/bblayers/templates/example.bb b/poky/meta/lib/bblayers/templates/example.bb new file mode 100644 index 000000000..c4b873d59 --- /dev/null +++ b/poky/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("***********************************************"); +} diff --git a/poky/meta/lib/bblayers/templates/layer.conf b/poky/meta/lib/bblayers/templates/layer.conf new file mode 100644 index 000000000..3c0300226 --- /dev/null +++ b/poky/meta/lib/bblayers/templates/layer.conf @@ -0,0 +1,10 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "%s" +BBFILE_PATTERN_%s = "^${LAYERDIR}/" +BBFILE_PRIORITY_%s = "%s" |