xref: /openbmc/openbmc/poky/meta/conf/layer.conf (revision 19323693)
1# We have a conf and classes directory, add to BBPATH
2BBPATH .= ":${LAYERDIR}"
3# We have recipes-* directories, add to BBFILES
4BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
5
6BBFILE_COLLECTIONS += "core"
7BBFILE_PATTERN_core = "^${LAYERDIR}/"
8BBFILE_PRIORITY_core = "5"
9
10LAYERSERIES_CORENAMES = "warrior"
11
12# This should only be incremented on significant changes that will
13# cause compatibility issues with other layers
14LAYERVERSION_core = "11"
15LAYERSERIES_COMPAT_core = "warrior"
16
17BBLAYERS_LAYERINDEX_NAME_core = "openembedded-core"
18
19# Set a variable to get to the top of the metadata location
20COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'
21
22# opkg-utils is for update-alternatives :(
23SIGGEN_EXCLUDERECIPES_ABISAFE += " \
24  sysvinit-inittab \
25  busybox-inittab \
26  shadow-securetty \
27  opkg-arch-config \
28  netbase \
29  init-ifupdown \
30  connman-conf \
31  formfactor \
32  xserver-xf86-config \
33  pointercal-xinput \
34  base-files \
35  keymaps \
36  udev-extraconf \
37  packagegroup-x11-xserver \
38  systemd-serialgetty \
39  initscripts \
40  shadow \
41  shadow-sysroot \
42  base-passwd \
43  opkg-utils \
44  gstreamer1.0-meta-base \
45  ca-certificates \
46"
47
48SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
49  *->quilt-native \
50  *->subversion-native \
51  *->git-native \
52  *->icecc-create-env-native \
53  gcc-cross-${TARGET_ARCH}->linux-libc-headers \
54  ppp-dialin->ppp \
55  resolvconf->bash \
56  docbook-xsl-stylesheets->perl \
57  ca-certificates->openssl \
58  initramfs-framework->${VIRTUAL-RUNTIME_base-utils} \
59  initramfs-framework->eudev \
60  initramfs-framework->systemd \
61  initramfs-module-install-efi->dosfstools \
62  initramfs-module-install-efi->e2fsprogs \
63  initramfs-module-install-efi->parted \
64  initramfs-module-install-efi->util-linux \
65  initramfs-module-install->e2fsprogs \
66  initramfs-module-install->grub \
67  initramfs-module-install->parted \
68  initramfs-module-install->util-linux \
69  grub-efi->grub-bootconf \
70  liberation-fonts->fontconfig \
71  cantarell-fonts->fontconfig \
72  gnome-icon-theme->librsvg \
73  font-alias->font-util \
74  systemd-boot->systemd-bootconf \
75  systemd->systemd-conf \
76  weston->weston-conf \
77  weston-init->weston \
78  weston-init->kbd \
79"
80
81# Avoid adding bison-native to the sysroot without a specific
82# dependency in the recipe. This means indirect dependencies
83# (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the
84# dependency incidentally. This improves determinism and avoids build
85# failures when people switch to external toolchains.
86SSTATE_EXCLUDEDEPS_SYSROOT += ".*->bison-native"
87# Nothing needs to depend on libc-initial/gcc-cross-initial
88# base-passwd/shadow-sysroot don't need their dependencies
89SSTATE_EXCLUDEDEPS_SYSROOT += "\
90    .*->.*-initial.* \
91    .*(base-passwd|shadow-sysroot)->.* \
92"
93# Avoid adding autoconf-archive-native to sysroot without a specific
94# dependency in the recipe.
95SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native"
96
97# We need to keep bitbake tools in PATH
98PATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}"
99