[yocto] [PATCH 02/17] meta-intel: make meta-intel itself a layer

tom.zanussi at intel.com tom.zanussi at intel.com
Mon Nov 21 14:44:18 PST 2011


From: Tom Zanussi <tom.zanussi at intel.com>

meta-intel contains a set of BSP layers, but is not itself a layer.
Make it a layer to make it easy to share common intel-specific files
between BSPs.

Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
---
 conf/layer.conf |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 conf/layer.conf

diff --git a/conf/layer.conf b/conf/layer.conf
new file mode 100644
index 0000000..a5db163
--- /dev/null
+++ b/conf/layer.conf
@@ -0,0 +1,10 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH := "${BBPATH}:${LAYERDIR}"
+
+# We have a packages directory, add to BBFILES
+BBFILES := "${BBFILES} ${LAYERDIR}/common/recipes-*/*/*.bb \
+            ${LAYERDIR}/common/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "intel"
+BBFILE_PATTERN_intel := "^${LAYERDIR}/"
+BBFILE_PRIORITY_intel = "5"
-- 
1.7.0.4




More information about the yocto mailing list