Module: setup-scripts
Branch: oe-core
Commit: 794b32d234dbf7e6626c8a0efc915fc04804b9d0

Author: Koen Kooi <k...@dominion.thruhere.net>
Date:   Sat Oct 22 13:05:13 2011 +0200

layerman: seperate out the layers to make them easily overridable

---

 conf/bblayers.conf |   21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/conf/bblayers.conf b/conf/bblayers.conf
index f3e5f44..6829f28 100644
--- a/conf/bblayers.conf
+++ b/conf/bblayers.conf
@@ -7,15 +7,17 @@ BBPATH = "${TOPDIR}"
 
 BBFILES = ""
 
-# Add your overlay location to BBLAYERS
-# Make sure to have a conf/layers.conf in there
-BBLAYERS = " \
-  ${TOPDIR}/sources/meta-angstrom \
+# These layers hold recipe metadata not found in OE-core, but lack any machine 
or distro content
+BASELAYERS ?= " \
   ${TOPDIR}/sources/meta-openembedded/meta-oe \
   ${TOPDIR}/sources/meta-openembedded/meta-efl \
   ${TOPDIR}/sources/meta-openembedded/meta-gpe \
   ${TOPDIR}/sources/meta-openembedded/meta-gnome \
   ${TOPDIR}/sources/meta-openembedded/meta-xfce \
+"
+
+# These layers hold machine specific content, aka Board Support Packages
+BSPLAYERS ?= " \
   ${TOPDIR}/sources/meta-ti \
   ${TOPDIR}/sources/meta-ettus \
   ${TOPDIR}/sources/meta-efikamx \
@@ -30,5 +32,16 @@ BBLAYERS = " \
   ${TOPDIR}/sources/meta-intel/meta-fishriver \
   ${TOPDIR}/sources/meta-intel/meta-jasperforest \
   ${TOPDIR}/sources/meta-intel/meta-n450 \
+"
+
+# Add your overlay location to EXTRALAYERS
+# Make sure to have a conf/layers.conf in there
+EXTRALAYERS ?= ""
+
+BBLAYERS = " \
+  ${TOPDIR}/sources/meta-angstrom \
+  ${BASELAYERS} \
+  ${BSPLAYERS} \
+  ${EXTRALAYERS} \
   ${TOPDIR}/sources/openembedded-core/meta \
   "


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to