[oe-commits] Martin Jansa : meta-initramfs: append to BBPATH instead of prepend so order of bblayers.conf is respected

git at git.openembedded.org git at git.openembedded.org
Thu Jun 21 19:23:10 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: f3b72f9f147b27d2a9566cb417f7f84d746184df
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=f3b72f9f147b27d2a9566cb417f7f84d746184df

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Wed May 23 15:50:30 2012 +0000

meta-initramfs: append to BBPATH instead of prepend so order of bblayers.conf is respected

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Acked-by: Andrea Adami <andrea.adami at gmail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta-initramfs/conf/layer.conf |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/meta-initramfs/conf/layer.conf b/meta-initramfs/conf/layer.conf
index 469cde5..cc78c1a 100644
--- a/meta-initramfs/conf/layer.conf
+++ b/meta-initramfs/conf/layer.conf
@@ -1,11 +1,16 @@
 # Layer configuration for meta-initramfs layer
 
-# We have a conf and classes directory, prepend to BBPATH to prefer our versions
-BBPATH := "${LAYERDIR}:${BBPATH}"
+# We have a conf and classes directory, append to BBPATH
+BBPATH .= ":${LAYERDIR}"
 
 # We have a recipes directory, add to BBFILES
-BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
 
 BBFILE_COLLECTIONS += "meta-initramfs"
 BBFILE_PATTERN_meta-initramfs := "^${LAYERDIR}/"
+
+# Define the priority for recipes (.bb files) from this layer,
+# choosing carefully how this layer interacts with all of the
+# other layers.
+
 BBFILE_PRIORITY_meta-initramfs = "8"





More information about the Openembedded-commits mailing list