summaryrefslogtreecommitdiffstats
path: root/meta-agl-security/conf/layer.conf
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2015-10-14 13:38:07 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2015-11-05 09:47:01 +0100
commit90974f33f0bb02816f521e66ef96100ebff21dff (patch)
tree73453f2cc573b7ee5d9c6dfeaa28655155f04552 /meta-agl-security/conf/layer.conf
parent63decd0d0cc3ca7e84c0d0249aacf8beec70f078 (diff)
Adds meta-agl-security layer
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>
Diffstat (limited to 'meta-agl-security/conf/layer.conf')
-rw-r--r--meta-agl-security/conf/layer.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-agl-security/conf/layer.conf b/meta-agl-security/conf/layer.conf
new file mode 100644
index 000000000..86d435c9d
--- /dev/null
+++ b/meta-agl-security/conf/layer.conf
@@ -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"