[oe] [meta-handheld][PATCH] meta-handheld: append to BBPATH instead of prepend so order of bblayers.conf is respected

Martin Jansa martin.jansa at gmail.com
Wed May 23 15:50:37 UTC 2012


Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 conf/layer.conf |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 7a2441b..31dcb16 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -1,13 +1,18 @@
 # Layer configuration for meta-handheld layer
 # Copyright 2011 Intel Corporation
 
-# 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-handheld"
 BBFILE_PATTERN_meta-handheld := "^${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-handheld = "7"
 
-- 
1.7.8.6





More information about the Openembedded-devel mailing list