layer.conf 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. # It really depends on order of the layers appearing in BBLAYERS
  2. # variable in toplevel bblayers.conf file, where bitbake will search
  3. # for .inc files and others where bitbake uses BBPATH since it will
  4. # search the directories from first to last as specified in BBPATH
  5. # Therefore if you want a given layer to be considered high priority
  6. # for the .inc and .conf etc. then consider it adding at the beginning
  7. # of BBPATH. For bblayers bitbake will use BBFILES_PRIORITY to resolve
  8. # the recipe contention so the order of directories in BBFILES does
  9. # not matter.
  10. # We have a conf and classes directory, append to BBPATH
  11. BBPATH .= ":${LAYERDIR}"
  12. # We have a recipes directory, add to BBFILES
  13. BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
  14. BBFILE_COLLECTIONS += "openembedded-layer"
  15. BBFILE_PATTERN_openembedded-layer := "^${LAYERDIR}/"
  16. # Define the priority for recipes (.bb files) from this layer,
  17. # choosing carefully how this layer interacts with all of the
  18. # other layers.
  19. BBFILE_PRIORITY_openembedded-layer = "5"
  20. # only activates content when identified layers are present,
  21. # to ensure yocto compatibility check pass
  22. BBFILES_DYNAMIC += " \
  23. clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/recipes-*/*/*.bb \
  24. clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/recipes-*/*/*.bbappend \
  25. meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \
  26. meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \
  27. multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/recipes-*/*/*.bb \
  28. multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/recipes-*/*/*.bbappend \
  29. networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \
  30. networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \
  31. gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bb \
  32. gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bbappend \
  33. perl-layer:${LAYERDIR}/dynamic-layers/perl-layer/recipes-*/*/*.bb \
  34. perl-layer:${LAYERDIR}/dynamic-layers/perl-layer/recipes-*/*/*.bbappend \
  35. selinux:${LAYERDIR}/dynamic-layers/selinux/recipes-*/*/*.bb \
  36. selinux:${LAYERDIR}/dynamic-layers/selinux/recipes-*/*/*.bbappend \
  37. "
  38. # This should only be incremented on significant changes that will
  39. # cause compatibility issues with other layers
  40. LAYERVERSION_openembedded-layer = "1"
  41. LAYERDEPENDS_openembedded-layer = "core"
  42. LAYERSERIES_COMPAT_openembedded-layer = "walnascar"
  43. LICENSE_PATH += "${LAYERDIR}/licenses"
  44. PREFERRED_RPROVIDER_libdevmapper = "lvm2"
  45. PREFERRED_RPROVIDER_libdevmapper-native = "lvm2-native"
  46. PREFERRED_RPROVIDER_nativesdk-libdevmapper = "nativesdk-lvm2"
  47. PREFERRED_PROVIDER_android-tools-conf ?= "android-tools-conf"
  48. # Configures whether coreutils or uutils-coreutils is used.
  49. PREFERRED_PROVIDER_coreutils = "coreutils"
  50. PREFERRED_PROVIDER_virtual/opencl-icd ?= "opencl-icd-loader"
  51. PREFERRED_RPROVIDER_virtual-opencl-icd ?= "opencl-icd-loader"
  52. PREFERRED_RPROVIDER_virtual-redis ?= "redis"
  53. SIGGEN_EXCLUDERECIPES_ABISAFE += " \
  54. fbset-modes \
  55. gpsd-machine-conf \
  56. distro-feed-configs \
  57. ca-certificates \
  58. pointercal \
  59. "
  60. SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
  61. android-tools->android-tools-conf \
  62. usb-modeswitch-data->usb-modeswitch \
  63. lmsensors->lmsensors-config \
  64. phoronix-test-suite->bash \
  65. phoronix-test-suite->python3 \
  66. phoronix-test-suite->php \
  67. phoronix-test-suite->lsb-release \
  68. phoronix-test-suite->util-linux \
  69. phoronix-test-suite->busybox \
  70. phoronix-test-suite->shared-mime-info \
  71. phoronix-test-suite->desktop-file-utils \
  72. "
  73. # ttf.inc inherits fontcache which adds fontconfig-utils to RDEPENDS
  74. SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
  75. terminus-font->fontconfig \
  76. ttf-abyssinica->fontconfig \
  77. ttf-arphic-uming->fontconfig \
  78. ttf-dejavu->fontconfig \
  79. ttf-droid->fontconfig \
  80. ttf-gentium->fontconfig \
  81. ttf-google-fira->fontconfig \
  82. ttf-hunkyfonts->fontconfig \
  83. ttf-inconsolata->fontconfig \
  84. ttf-ipa->fontconfig \
  85. ttf-liberation->fontconfig \
  86. ttf-liberation-sans-narrow->fontconfig \
  87. ttf-lklug->fontconfig \
  88. ttf-lohit->fontconfig \
  89. ttf-noto-emoji->fontconfig \
  90. ttf-pt-sans->fontconfig \
  91. ttf-roboto->fontconfig \
  92. ttf-mplus->fontconfig \
  93. ttf-sazanami->fontconfig \
  94. ttf-takao->fontconfig \
  95. ttf-tlwg->fontconfig \
  96. ttf-ubuntu-font-family->fontconfig \
  97. ttf-vlgothic->fontconfig \
  98. ttf-wqy-zenhei->fontconfig \
  99. source-han-sans-cn-fonts->fontconfig \
  100. source-han-sans-jp-fonts->fontconfig \
  101. source-han-sans-kr-fonts->fontconfig \
  102. source-han-sans-tw-fonts->fontconfig \
  103. source-code-pro-fonts->fontconfig \
  104. "
  105. DEFAULT_TEST_SUITES:pn-meta-oe-ptest-image = " ${PTESTTESTSUITE}"
  106. NON_MULTILIB_RECIPES:append = " crash pahole libbpf"
  107. NON_MULTILIB_RECIPES:remove:x86 = "libbpf"
  108. NON_MULTILIB_RECIPES:remove:x86-64 = "libbpf"