diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2016-06-28 21:27:38 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2016-07-05 18:49:46 +0000 |
commit | 24c89f22961bab9a995ab9c18881a3109a1c8109 (patch) | |
tree | 1e08f2a594f220c3c38bea49558eb25ab69aca48 /templates/base/bblayers.conf.sample | |
parent | 641df47d096fb559d6f4f444670205e4510d6791 (diff) |
new configuration templates based on fragments
This is the application of the process proposed here:
https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002232.html
Bug-AGL: SPEC-180
Change-Id: I5a7015fa810547a9ecf4fb096367323af3cdc670
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'templates/base/bblayers.conf.sample')
-rw-r--r-- | templates/base/bblayers.conf.sample | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/templates/base/bblayers.conf.sample b/templates/base/bblayers.conf.sample new file mode 100644 index 000000000..313a58208 --- /dev/null +++ b/templates/base/bblayers.conf.sample @@ -0,0 +1,55 @@ +# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf +# changes incompatibly +LCONF_VERSION = "6" + +BBPATH = "${TOPDIR}" +BBFILES ?= "" + +# Convenience variables usable in various configuration fragments +#---------------------------------- +BCONFDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)))}" +METADIR := "${@os.path.abspath('##OEROOT##/..')}" + +# These are the core OE + YP Layers +#---------------------------------- +YOCTO_LAYERS = " \ + ${METADIR}/poky/meta \ + ${METADIR}/poky/meta-yocto \ + ${METADIR}/poky/meta-yocto-bsp \ + " + +# These are the AGL CORE Layers that make up the basis +# - they create a minimal bootable filesystem +# with some automotive tools/libraries +#----------------------------------------------------- +AGL_CORE_LAYERS = " \ + ${METADIR}/meta-agl/meta-ivi-common \ + ${METADIR}/meta-agl/meta-agl \ + ${METADIR}/meta-agl/meta-agl-bsp \ + " + +# These are the direct dependencies of the AGL CORE Layers +#--------------------------------------------------------- +AGL_CORE_DEPENDENCY_LAYERS = " \ + ${METADIR}/meta-openembedded/meta-oe \ + ${METADIR}/meta-openembedded/meta-multimedia \ + ${METADIR}/meta-openembedded/meta-efl \ + ${METADIR}/meta-openembedded/meta-networking \ + ${METADIR}/meta-openembedded/meta-python \ + " + +#################### +# Combine the layers +BBLAYERS ?= " \ + ${AGL_CORE_DEPENDENCY_LAYERS} \ + ${AGL_CORE_LAYERS} \ + ${YOCTO_LAYERS} \ + " + +BBLAYERS_NON_REMOVABLE ?= " \ + ${METADIR}/poky/meta \ + ${METADIR}/poky/meta-yocto \ + ${METADIR}//meta-agl/meta-agl \ + " + + |