All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] layer.conf: handle dynamic layer configuration
@ 2015-01-27  6:14 Yen-Chin Lee
  2015-01-31  0:36 ` Andrei Gherzan
  0 siblings, 1 reply; 3+ messages in thread
From: Yen-Chin Lee @ 2015-01-27  6:14 UTC (permalink / raw)
  To: openembedded-devel

Using a separate layer specific directory as meta-fsl-arm does with
qt5-layer, this will prevent meta-raspberrypi change layer dependencies
when add qt5 packages.

patch is taken from:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/conf/layer.conf#n20

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
---
 conf/layer.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/conf/layer.conf b/conf/layer.conf
index 7bffd4b..71f22b4 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -12,3 +12,7 @@ BBFILE_PRIORITY_raspberrypi = "6"
 # Additional license directories.
 LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
 
+# Let us add layer-specific bbappends which are only applied when that
+# layer is included in our configuration
+BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
+               for layer in BBFILE_COLLECTIONS.split())}"
-- 
1.9.3 (Apple Git-50)



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-03  3:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-27  6:14 [meta-raspberrypi][PATCH] layer.conf: handle dynamic layer configuration Yen-Chin Lee
2015-01-31  0:36 ` Andrei Gherzan
2015-02-03  3:31   ` coldnew.tw

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.