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 = "gatesgarth" 11 12# This should only be incremented on significant changes that will 13# cause compatibility issues with other layers 14LAYERVERSION_core = "12" 15LAYERSERIES_COMPAT_core = "gatesgarth" 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 *->quilt-native \ 52 *->subversion-native \ 53 *->git-native \ 54 *->icecc-create-env-native \ 55 gcc-cross-${TARGET_ARCH}->linux-libc-headers \ 56 ppp-dialin->ppp \ 57 resolvconf->bash \ 58 docbook-xsl-stylesheets->perl \ 59 ca-certificates->openssl \ 60 initramfs-framework->${VIRTUAL-RUNTIME_base-utils} \ 61 initramfs-framework->eudev \ 62 initramfs-framework->systemd \ 63 initramfs-module-install-efi->dosfstools \ 64 initramfs-module-install-efi->e2fsprogs \ 65 initramfs-module-install-efi->parted \ 66 initramfs-module-install-efi->util-linux \ 67 initramfs-module-install->e2fsprogs \ 68 initramfs-module-install->grub \ 69 initramfs-module-install->parted \ 70 initramfs-module-install->util-linux \ 71 grub-efi->grub-bootconf \ 72 liberation-fonts->fontconfig \ 73 cantarell-fonts->fontconfig \ 74 ttf-bitstream-vera->fontconfig \ 75 gnome-icon-theme->librsvg \ 76 font-alias->font-util \ 77 systemd-boot->systemd-bootconf \ 78 systemd->systemd-conf \ 79 weston->weston-init \ 80 weston-init->weston \ 81 weston-init->kbd \ 82 connman->xl2tpd \ 83 lttng-tools->lttng-modules \ 84 adwaita-icon-theme->gdk-pixbuf \ 85 adwaita-icon-theme->gtk+3 \ 86" 87 88# Avoid adding bison-native to the sysroot without a specific 89# dependency in the recipe. This means indirect dependencies 90# (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the 91# dependency incidentally. This improves determinism and avoids build 92# failures when people switch to external toolchains. 93SSTATE_EXCLUDEDEPS_SYSROOT += ".*->bison-native" 94# Nothing needs to depend on libc-initial 95# base-passwd/shadow-sysroot don't need their dependencies 96SSTATE_EXCLUDEDEPS_SYSROOT += "\ 97 .*->.*-initial.* \ 98 .*(base-passwd|shadow-sysroot)->.* \ 99" 100# Avoid adding autoconf-archive-native to sysroot without a specific 101# dependency in the recipe. 102SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native" 103 104# We need to keep bitbake tools in PATH 105# Avoid empty path entries 106BITBAKEPATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}" 107PATH := "${@'${BITBAKEPATH}:' if '${BITBAKEPATH}' != '' else ''}${HOSTTOOLS_DIR}" 108