Adds meta-agl-security layer 51/4251/2
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 14 Oct 2015 11:38:07 +0000 (13:38 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 5 Nov 2015 08:47:01 +0000 (09:47 +0100)
This commits adds the security layer within the sources
of the AGL project.

This layer, named "meta-agl-security", is intended to host
receipes specific to the security framework of AGL.

In the case where a choice exist between several security
framework, the switch is done using "distro features" in
configuration files.

This layer will either hold the several framework and their
specific common components.

Change-Id: I8a34b2d6c06cd7d2687825a54d1fe75441de2895
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
meta-agl-security/conf/layer.conf [new file with mode: 0644]

diff --git a/meta-agl-security/conf/layer.conf b/meta-agl-security/conf/layer.conf
new file mode 100644 (file)
index 0000000..86d435c
--- /dev/null
@@ -0,0 +1,24 @@
+####################################################
+#
+# This layer, named "meta-agl-security", is intended to host
+# receipes specific to the security framework of AGL.
+#
+# In the case where a choice exist between several security
+# framework, the switch is done using DISTRO_FEATURES in
+# configuration files.
+#
+# This layer will either hold the several framework and their
+# specific common components.
+#
+####################################################
+
+# 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 += "agl-security"
+BBFILE_PATTERN_agl-security = "^${LAYERDIR}/"
+BBFILE_PRIORITY_agl-security = "9"