Add placeholder variable for meta-clang addition
[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   "
19 #  this is added for the boards where necessary, not globally
20 #  ${METADIR}/external/poky/meta-yocto-bsp \
21 #
22 # These are the AGL CORE Layers that make up the basis
23 # - they create a minimal bootable filesystem
24 #   with some automotive tools/libraries
25 #-----------------------------------------------------
26 AGL_CORE_LAYERS = " \
27   ${METADIR}/meta-agl/meta-agl-core \
28   ${METADIR}/meta-agl/meta-agl-core-test \
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_VIRTUALIZATION ?= ""
44 AGL_META_CLANG ?= ""
45
46 AGL_OTHER_DEPENDENCY_LAYERS = " \
47     ${AGL_META_NETWORKING} \
48     ${AGL_META_PYTHON} \
49     ${AGL_META_FILESYSTEMS} \
50     ${AGL_META_VIRTUALIZATION} \
51     ${AGL_META_CLANG} \
52     "
53
54 ####################
55 # Combine the layers
56 BBLAYERS ?= " \
57   ${AGL_OTHER_DEPENDENCY_LAYERS} \
58   ${AGL_CORE_DEPENDENCY_LAYERS} \
59   ${AGL_CORE_LAYERS} \
60   ${YOCTO_LAYERS} \
61   "
62
63 BBLAYERS_NON_REMOVABLE ?= " \
64   ${METADIR}/external/poky/meta \
65   ${METADIR}/external/poky/meta-poky \
66   ${METADIR}/meta-agl/meta-agl-core \
67   "
68
69
70