Update Rust mixin layer directory
[AGL/meta-agl.git] / templates / base / bblayers.conf.sample
1 # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
2 # changes incompatibly
3 LCONF_VERSION = "6"
4
5 BBPATH = "${TOPDIR}"
6 BBFILES ?= ""
7
8 # Convenience variables usable in various configuration fragments
9 #----------------------------------
10 BCONFDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)))}"
11 METADIR  := "${@os.path.abspath('##OEROOT##/../..')}"
12
13 # These are the core OE + YP Layers
14 #----------------------------------
15 YOCTO_LAYERS = " \
16   ${METADIR}/external/poky/meta \
17   ${METADIR}/external/poky/meta-poky \
18   ${METADIR}/external/meta-lts-mixins_rust \
19   "
20 #  this is added for the boards where necessary, not globally
21 #  ${METADIR}/external/poky/meta-yocto-bsp \
22 #
23 # These are the AGL CORE Layers that make up the basis
24 # - they create a minimal bootable filesystem
25 #   with some automotive tools/libraries
26 #-----------------------------------------------------
27 AGL_CORE_LAYERS = " \
28   ${METADIR}/meta-agl/meta-agl-core \
29   ${METADIR}/meta-agl/meta-agl-bsp \
30   "
31
32 # These are the direct dependencies of the AGL CORE Layers
33 #---------------------------------------------------------
34 AGL_CORE_DEPENDENCY_LAYERS = " \
35   ${METADIR}/external/meta-openembedded/meta-oe \
36   "
37
38 # Indirection to avoid duplicate inclusions of the same folder into BBLAYERS
39 # the evaluation is in the bblayers.conf.sample in meta-agl/templates/base
40 AGL_META_NETWORKING ?= ""
41 AGL_META_PYTHON ?= ""
42 AGL_META_FILESYSTEMS ?= ""
43 AGL_META_MULTIMEDIA ?= ""
44 AGL_META_VIRTUALIZATION ?= ""
45 AGL_META_CLANG ?= ""
46 AGL_META_QT5 ?= ""
47
48 AGL_OTHER_DEPENDENCY_LAYERS = " \
49     ${AGL_META_NETWORKING} \
50     ${AGL_META_PYTHON} \
51     ${AGL_META_FILESYSTEMS} \
52     ${AGL_META_MULTIMEDIA} \
53     ${AGL_META_VIRTUALIZATION} \
54     ${AGL_META_CLANG} \
55     ${AGL_META_QT5} \
56     "
57
58 ####################
59 # Combine the layers
60 BBLAYERS ?= " \
61   ${AGL_OTHER_DEPENDENCY_LAYERS} \
62   ${AGL_CORE_DEPENDENCY_LAYERS} \
63   ${AGL_CORE_LAYERS} \
64   ${YOCTO_LAYERS} \
65   "
66
67 BBLAYERS_NON_REMOVABLE ?= " \
68   ${METADIR}/external/poky/meta \
69   ${METADIR}/external/poky/meta-poky \
70   ${METADIR}/meta-agl/meta-agl-core \
71   "
72
73
74