layer.conf 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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 = "gatesgarth"
  9. # This should only be incremented on significant changes that will
  10. # cause compatibility issues with other layers
  11. LAYERVERSION_core = "12"
  12. LAYERSERIES_COMPAT_core = "gatesgarth"
  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. ttf-bitstream-vera->fontconfig \
  68. gnome-icon-theme->librsvg \
  69. font-alias->font-util \
  70. systemd-boot->systemd-bootconf \
  71. systemd->systemd-conf \
  72. weston->weston-init \
  73. weston-init->weston \
  74. weston-init->kbd \
  75. connman->xl2tpd \
  76. lttng-tools->lttng-modules \
  77. adwaita-icon-theme->gdk-pixbuf \
  78. adwaita-icon-theme->gtk+3 \
  79. "
  80. # Avoid adding bison-native to the sysroot without a specific
  81. # dependency in the recipe. This means indirect dependencies
  82. # (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the
  83. # dependency incidentally. This improves determinism and avoids build
  84. # failures when people switch to external toolchains.
  85. SSTATE_EXCLUDEDEPS_SYSROOT += ".*->bison-native"
  86. # Nothing needs to depend on libc-initial
  87. # base-passwd/shadow-sysroot don't need their dependencies
  88. SSTATE_EXCLUDEDEPS_SYSROOT += "\
  89. .*->.*-initial.* \
  90. .*(base-passwd|shadow-sysroot)->.* \
  91. "
  92. # Avoid adding autoconf-archive-native to sysroot without a specific
  93. # dependency in the recipe.
  94. SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native"
  95. # We need to keep bitbake tools in PATH
  96. # Avoid empty path entries
  97. BITBAKEPATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}"
  98. PATH := "${@'${BITBAKEPATH}:' if '${BITBAKEPATH}' is not '' else ''}${HOSTTOOLS_DIR}"