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 = "mickledore" 11 12# This should only be incremented on significant changes that will 13# cause compatibility issues with other layers 14LAYERVERSION_core = "15" 15LAYERSERIES_COMPAT_core = "mickledore" 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 shared-mime-info \ 47 desktop-file-utils \ 48" 49 50SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ 51 *->patch-native \ 52 *->quilt-native \ 53 *->subversion-native \ 54 *->git-native \ 55 *->icecc-create-env-native \ 56 gcc-cross-${TARGET_ARCH}->linux-libc-headers \ 57 ppp-dialin->ppp \ 58 resolvconf->bash \ 59 docbook-xsl-stylesheets->perl \ 60 ca-certificates->openssl \ 61 initramfs-framework->${VIRTUAL-RUNTIME_base-utils} \ 62 initramfs-framework->eudev \ 63 initramfs-framework->systemd \ 64 initramfs-module-install-efi->dosfstools \ 65 initramfs-module-install-efi->e2fsprogs \ 66 initramfs-module-install-efi->parted \ 67 initramfs-module-install-efi->util-linux \ 68 initramfs-module-install->e2fsprogs \ 69 initramfs-module-install->grub \ 70 initramfs-module-install->parted \ 71 initramfs-module-install->util-linux \ 72 grub-efi->grub-bootconf \ 73 liberation-fonts->fontconfig \ 74 cantarell-fonts->fontconfig \ 75 ttf-bitstream-vera->fontconfig \ 76 gnome-icon-theme->librsvg \ 77 font-alias->font-util \ 78 systemd-boot->systemd-bootconf \ 79 systemd->systemd-conf \ 80 weston->weston-init \ 81 weston-init->weston \ 82 weston-init->kbd \ 83 connman->xl2tpd \ 84 lttng-tools->lttng-modules \ 85 sato-icon-theme->gdk-pixbuf \ 86 sato-icon-theme->gtk+3 \ 87 adwaita-icon-theme->gdk-pixbuf \ 88 adwaita-icon-theme->gtk+3 \ 89" 90 91# Avoid adding bison-native to the sysroot without a specific 92# dependency in the recipe. This means indirect dependencies 93# (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the 94# dependency incidentally. This improves determinism and avoids build 95# failures when people switch to external toolchains. 96# libarchive only needs e2fsprogs headers at buildtime 97SSTATE_EXCLUDEDEPS_SYSROOT += "\ 98 .*->autoconf-native \ 99 .*->automake-native \ 100 .*->bison-native \ 101 .*->meson-native \ 102 .*->ninja-native \ 103 .*->patch-native \ 104 .*->pkgconfig-native \ 105 .*->quilt-native \ 106 ^(?!gtk-doc-native).*->xmlto-native \ 107 .*->gperf-native \ 108 .*->help2man-native \ 109 .*->gtk-doc-native \ 110 .*->texinfo-native \ 111 .*->perlcross-native \ 112 libarchive-native->e2fsprogs-native \ 113" 114# Nothing needs to depend on libc-initial 115# base-passwd/shadow-sysroot don't need their dependencies 116SSTATE_EXCLUDEDEPS_SYSROOT += "\ 117 .*->.*-initial.* \ 118 .*(base-passwd|shadow-sysroot)->.* \ 119" 120# Avoid adding autoconf-archive-native to sysroot without a specific 121# dependency in the recipe. 122SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native" 123 124# We need to keep bitbake tools in PATH 125# Avoid empty path entries 126BITBAKEPATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}" 127PATH := "${@'${BITBAKEPATH}:' if '${BITBAKEPATH}' != '' else ''}${HOSTTOOLS_DIR}" 128 129# Only OE-Core should set/change this 130BB_GLOBAL_PYMODULES = "os sys time" 131 132addpylib ${LAYERDIR}/lib oe 133