Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 8 | # the recipe contention so the order of directories in BBFILES does |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | # not matter. |
| 10 | |
| 11 | # We have a conf and classes directory, append to BBPATH |
| 12 | BBPATH .= ":${LAYERDIR}" |
| 13 | |
| 14 | # We have a recipes directory, add to BBFILES |
| 15 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" |
| 16 | |
| 17 | BBFILE_COLLECTIONS += "openembedded-layer" |
| 18 | BBFILE_PATTERN_openembedded-layer := "^${LAYERDIR}/" |
| 19 | |
| 20 | # Define the priority for recipes (.bb files) from this layer, |
| 21 | # choosing carefully how this layer interacts with all of the |
| 22 | # other layers. |
| 23 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 24 | BBFILE_PRIORITY_openembedded-layer = "5" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 25 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 26 | # only activates content when identified layers are present, |
| 27 | # to ensure yocto compatibility check pass |
| 28 | BBFILES_DYNAMIC += " \ |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame] | 29 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ |
| 30 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \ |
| 31 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \ |
| 32 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \ |
| 33 | gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bb \ |
| 34 | gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bbappend \ |
| 35 | perl-layer:${LAYERDIR}/dynamic-layers/perl-layer/recipes-*/*/*.bb \ |
| 36 | perl-layer:${LAYERDIR}/dynamic-layers/perl-layer/recipes-*/*/*.bbappend \ |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 37 | selinux:${LAYERDIR}/dynamic-layers/selinux/recipes-*/*/*.bb \ |
| 38 | selinux:${LAYERDIR}/dynamic-layers/selinux/recipes-*/*/*.bbappend \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 39 | " |
| 40 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 41 | # This should only be incremented on significant changes that will |
| 42 | # cause compatibility issues with other layers |
| 43 | LAYERVERSION_openembedded-layer = "1" |
| 44 | |
| 45 | LAYERDEPENDS_openembedded-layer = "core" |
| 46 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 47 | LAYERSERIES_COMPAT_openembedded-layer = "nanbield" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 48 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 49 | LICENSE_PATH += "${LAYERDIR}/licenses" |
| 50 | |
Brad Bishop | 0f291cc | 2019-09-01 15:16:57 -0400 | [diff] [blame] | 51 | PREFERRED_RPROVIDER_libdevmapper = "lvm2" |
Patrick Williams | 705982a | 2024-01-12 09:51:57 -0600 | [diff] [blame] | 52 | PREFERRED_RPROVIDER_libdevmapper-native = "lvm2-native" |
Patrick Williams | b58112e | 2024-03-07 11:16:36 -0600 | [diff] [blame] | 53 | PREFERRED_RPROVIDER_nativesdk-libdevmapper = "nativesdk-lvm2" |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 54 | PREFERRED_PROVIDER_android-tools-conf ?= "android-tools-conf" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 55 | # Configures whether coreutils or uutils-coreutils is used. |
| 56 | PREFERRED_PROVIDER_coreutils = "coreutils" |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 57 | PREFERRED_PROVIDER_virtual/opencl-icd ?= "opencl-icd-loader" |
Patrick Williams | 56b44a9 | 2024-01-19 08:49:29 -0600 | [diff] [blame] | 58 | PREFERRED_RPROVIDER_virtual-opencl-icd ?= "opencl-icd-loader" |
Brad Bishop | 0f291cc | 2019-09-01 15:16:57 -0400 | [diff] [blame] | 59 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 60 | SIGGEN_EXCLUDERECIPES_ABISAFE += " \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 61 | fbset-modes \ |
| 62 | gpsd-machine-conf \ |
| 63 | distro-feed-configs \ |
| 64 | ca-certificates \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 65 | pointercal \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 66 | " |
| 67 | |
| 68 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 69 | android-tools->android-tools-conf \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 70 | usb-modeswitch-data->usb-modeswitch \ |
| 71 | lmsensors->lmsensors-config \ |
| 72 | phoronix-test-suite->bash \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 73 | phoronix-test-suite->python3 \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 74 | phoronix-test-suite->php \ |
Brad Bishop | 0f291cc | 2019-09-01 15:16:57 -0400 | [diff] [blame] | 75 | phoronix-test-suite->lsb-release \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 76 | phoronix-test-suite->util-linux \ |
| 77 | phoronix-test-suite->busybox \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 78 | phoronix-test-suite->shared-mime-info \ |
| 79 | phoronix-test-suite->desktop-file-utils \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 80 | " |
| 81 | |
| 82 | # ttf.inc inherits fontcache which adds fontconfig-utils to RDEPENDS |
| 83 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ |
| 84 | terminus-font->fontconfig \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 85 | ttf-abyssinica->fontconfig \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 86 | ttf-arphic-uming->fontconfig \ |
| 87 | ttf-dejavu->fontconfig \ |
| 88 | ttf-droid->fontconfig \ |
| 89 | ttf-gentium->fontconfig \ |
Andrew Geissler | 220dafd | 2023-10-04 10:18:08 -0500 | [diff] [blame] | 90 | ttf-google-fira->fontconfig \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 91 | ttf-hunkyfonts->fontconfig \ |
| 92 | ttf-inconsolata->fontconfig \ |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 93 | ttf-ipa->fontconfig \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 94 | ttf-liberation->fontconfig \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 95 | ttf-liberation-sans-narrow->fontconfig \ |
| 96 | ttf-lklug->fontconfig \ |
| 97 | ttf-lohit->fontconfig \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 98 | ttf-noto-emoji->fontconfig \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 99 | ttf-pt-sans->fontconfig \ |
Brad Bishop | 87b3cb8 | 2019-11-15 16:35:37 -0500 | [diff] [blame] | 100 | ttf-roboto->fontconfig \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 101 | ttf-mplus->fontconfig \ |
| 102 | ttf-sazanami->fontconfig \ |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 103 | ttf-takao->fontconfig \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 104 | ttf-tlwg->fontconfig \ |
| 105 | ttf-ubuntu-font-family->fontconfig \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 106 | ttf-vlgothic->fontconfig \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 107 | ttf-wqy-zenhei->fontconfig \ |
| 108 | source-han-sans-cn-fonts->fontconfig \ |
| 109 | source-han-sans-jp-fonts->fontconfig \ |
| 110 | source-han-sans-kr-fonts->fontconfig \ |
| 111 | source-han-sans-tw-fonts->fontconfig \ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 112 | source-code-pro-fonts->fontconfig \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 113 | " |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 114 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 115 | DEFAULT_TEST_SUITES:pn-meta-oe-ptest-image = " ${PTESTTESTSUITE}" |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 116 | |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 117 | NON_MULTILIB_RECIPES:append = " crash pahole libbpf" |