add layer meta-netboot to enable network boot over NBD (Network Block Device)
[AGL/meta-agl.git] / meta-netboot / conf / layer.conf
diff --git a/meta-netboot/conf/layer.conf b/meta-netboot/conf/layer.conf
new file mode 100644 (file)
index 0000000..4077e6d
--- /dev/null
@@ -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 += "meta-netboot"
+BBFILE_PATTERN_meta-netboot = "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-netboot = "20"