]> code.ossystems Code Review - meta-freescale.git/commitdiff
layer: meta-freescale bsp layer settings
authorAdrian Alonso <b38018@freescale.com>
Wed, 24 Aug 2011 21:40:53 +0000 (16:40 -0500)
committerAdrian Alonso <b38018@freescale.com>
Wed, 24 Aug 2011 21:40:53 +0000 (16:40 -0500)
* layer.conf: sets the search paths to include the
  custom BSP package build descriptors (recipes)
* It also sets the priority to override common recipes
  provided in multiple layers.

Signed-off-by: Adrian Alonso <b38018@freescale.com>
meta-fsl-arm/conf/layer.conf [new file with mode: 0644]

diff --git a/meta-fsl-arm/conf/layer.conf b/meta-fsl-arm/conf/layer.conf
new file mode 100644 (file)
index 0000000..91a1cde
--- /dev/null
@@ -0,0 +1,13 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH := "${BBPATH}:${LAYERDIR}"
+
+# Include default versions
+require conf/distro/include/fsl-default-revisions.inc
+
+# We have a packages directory, add to BBFILES
+BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
+            ${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "freescale"
+BBFILE_PATTERN_freescale := "^${LAYERDIR}/"
+BBFILE_PRIORITY_freescale = "5"