layer.conf 3.1 KB

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