layer.conf 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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 = "6"
  20. # only activates content when identified layers are present,
  21. # to ensure yocto compatibility check pass
  22. BBFILES_DYNAMIC += " \
  23. meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \
  24. networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \
  25. gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bb \
  26. perl-layer:${LAYERDIR}/dynamic-layers/perl-layer/recipes-*/*/*.bb \
  27. "
  28. # This should only be incremented on significant changes that will
  29. # cause compatibility issues with other layers
  30. LAYERVERSION_openembedded-layer = "1"
  31. LAYERDEPENDS_openembedded-layer = "core"
  32. LAYERSERIES_COMPAT_openembedded-layer = "gatesgarth hardknott"
  33. LICENSE_PATH += "${LAYERDIR}/licenses"
  34. PREFERRED_RPROVIDER_libdevmapper = "lvm2"
  35. PREFERRED_PROVIDER_android-tools-conf ?= "android-tools-conf"
  36. SIGGEN_EXCLUDERECIPES_ABISAFE += " \
  37. fbset-modes \
  38. gpsd-machine-conf \
  39. distro-feed-configs \
  40. ca-certificates \
  41. pointercal \
  42. "
  43. SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
  44. android-tools->android-tools-conf \
  45. usb-modeswitch-data->usb-modeswitch \
  46. lmsensors->lmsensors-config \
  47. phoronix-test-suite->bash \
  48. phoronix-test-suite->python3 \
  49. phoronix-test-suite->php \
  50. phoronix-test-suite->lsb-release \
  51. phoronix-test-suite->util-linux \
  52. phoronix-test-suite->busybox \
  53. phoronix-test-suite->shared-mime-info \
  54. phoronix-test-suite->desktop-file-utils \
  55. "
  56. # ttf.inc inherits fontcache which adds fontconfig-utils to RDEPENDS
  57. SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
  58. terminus-font->fontconfig \
  59. ttf-abyssinica->fontconfig \
  60. ttf-arphic-uming->fontconfig \
  61. ttf-dejavu->fontconfig \
  62. ttf-droid->fontconfig \
  63. ttf-gentium->fontconfig \
  64. ttf-hunkyfonts->fontconfig \
  65. ttf-inconsolata->fontconfig \
  66. ttf-liberation->fontconfig \
  67. ttf-liberation-sans-narrow->fontconfig \
  68. ttf-lklug->fontconfig \
  69. ttf-lohit->fontconfig \
  70. ttf-noto-emoji->fontconfig \
  71. ttf-pt-sans->fontconfig \
  72. ttf-roboto->fontconfig \
  73. ttf-mplus->fontconfig \
  74. ttf-sazanami->fontconfig \
  75. ttf-tlwg->fontconfig \
  76. ttf-ubuntu-font-family->fontconfig \
  77. ttf-vlgothic->fontconfig \
  78. ttf-wqy-zenhei->fontconfig \
  79. source-han-sans-cn-fonts->fontconfig \
  80. source-han-sans-jp-fonts->fontconfig \
  81. source-han-sans-kr-fonts->fontconfig \
  82. source-han-sans-tw-fonts->fontconfig \
  83. source-code-pro-fonts->fontconfig \
  84. "
  85. DEFAULT_TEST_SUITES_pn-meta-oe-ptest-image = " ${PTESTTESTSUITE}"