blob: 95b1128ab314be791851ee6e4053a2812dc672a2 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001# 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
Brad Bishop19323692019-04-05 15:28:33 -040010LAYERSERIES_CORENAMES = "warrior"
Brad Bishop316dfdd2018-06-25 12:45:53 -040011
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012# This should only be incremented on significant changes that will
13# cause compatibility issues with other layers
Brad Bishopd7bf8c12018-02-25 22:55:05 -050014LAYERVERSION_core = "11"
Brad Bishop19323692019-04-05 15:28:33 -040015LAYERSERIES_COMPAT_core = "warrior"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016
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
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050022# opkg-utils is for update-alternatives :(
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023SIGGEN_EXCLUDERECIPES_ABISAFE += " \
24 sysvinit-inittab \
Brad Bishop00111322018-04-01 22:23:53 -040025 busybox-inittab \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026 shadow-securetty \
27 opkg-arch-config \
28 netbase \
29 init-ifupdown \
30 connman-conf \
31 formfactor \
32 xserver-xf86-config \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050033 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 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050044 gstreamer1.0-meta-base \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050045 ca-certificates \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050046"
47
48SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
Brad Bishop316dfdd2018-06-25 12:45:53 -040049 *->quilt-native \
50 *->subversion-native \
51 *->git-native \
Brad Bishop316dfdd2018-06-25 12:45:53 -040052 *->icecc-create-env-native \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050053 gcc-cross-${TARGET_ARCH}->linux-libc-headers \
54 ppp-dialin->ppp \
55 resolvconf->bash \
56 docbook-xsl-stylesheets->perl \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060057 ca-certificates->openssl \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050058 initramfs-framework->${VIRTUAL-RUNTIME_base-utils} \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050059 initramfs-framework->eudev \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050060 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 \
Brad Bishop316dfdd2018-06-25 12:45:53 -040069 grub-efi->grub-bootconf \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050070 liberation-fonts->fontconfig \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050071 cantarell-fonts->fontconfig \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050072 gnome-icon-theme->librsvg \
73 font-alias->font-util \
Brad Bishop316dfdd2018-06-25 12:45:53 -040074 systemd-boot->systemd-bootconf \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080075 systemd->systemd-conf \
Brad Bishopa34c0302019-09-23 22:34:48 -040076 weston->weston-init \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050077 weston-init->weston \
78 weston-init->kbd \
Brad Bishopc342db32019-05-15 21:57:59 -040079 connman->xl2tpd \
Brad Bishop15ae2502019-06-18 21:44:24 -040080 lttng-tools->lttng-modules \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050081"
82
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080083# Avoid adding bison-native to the sysroot without a specific
84# dependency in the recipe. This means indirect dependencies
85# (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the
86# dependency incidentally. This improves determinism and avoids build
87# failures when people switch to external toolchains.
88SSTATE_EXCLUDEDEPS_SYSROOT += ".*->bison-native"
89# Nothing needs to depend on libc-initial/gcc-cross-initial
90# base-passwd/shadow-sysroot don't need their dependencies
91SSTATE_EXCLUDEDEPS_SYSROOT += "\
92 .*->.*-initial.* \
93 .*(base-passwd|shadow-sysroot)->.* \
94"
95# Avoid adding autoconf-archive-native to sysroot without a specific
96# dependency in the recipe.
97SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native"
98
Brad Bishop6e60e8b2018-02-01 10:27:11 -050099# We need to keep bitbake tools in PATH
100PATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}"