summaryrefslogtreecommitdiffstats
path: root/templates/base/bblayers.conf.sample
blob: 653f6dbe89f8dd5a59cbeccc0d4018319a178d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# 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}/external/poky/meta \
  ${METADIR}/external/poky/meta-poky \
  "
#  this is added for the boards where necessary, not globally
#  ${METADIR}/external/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-agl-profile-core \
  ${METADIR}/meta-agl/meta-agl-distro \
  ${METADIR}/meta-agl/meta-agl-bsp \
  "

AGL_APPFW_LAYERS = " \
  ${METADIR}/external/meta-security \
  ${METADIR}/external/meta-openembedded/meta-perl \
  ${METADIR}/meta-agl/meta-security \
  ${METADIR}/meta-agl/meta-app-framework \
    "


# These are the direct dependencies of the AGL CORE Layers
#---------------------------------------------------------
AGL_CORE_DEPENDENCY_LAYERS = " \
  ${METADIR}/external/meta-openembedded/meta-oe \
  ${METADIR}/external/meta-openembedded/meta-multimedia \
  ${METADIR}/external/meta-openembedded/meta-networking \
  ${METADIR}/external/meta-openembedded/meta-python \
  ${METADIR}/external/meta-openembedded/meta-filesystems \
  "

####################
# Combine the layers
BBLAYERS ?= " \
  ${AGL_CORE_DEPENDENCY_LAYERS} \
  ${AGL_CORE_LAYERS} \
  ${AGL_APPFW_LAYERS} \
  ${YOCTO_LAYERS} \
  "

BBLAYERS_NON_REMOVABLE ?= " \
  ${METADIR}/external/poky/meta \
  ${METADIR}/external/poky/meta-poky \
  ${METADIR}/meta-agl/meta-agl-profile-core \
  ${METADIR}/meta-agl/meta-agl-distro \
  "