blob: 4d9acb8cc87064edd456f73d0bf7d126cda1f4f7 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001# 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 Geisslerd159c7f2021-09-02 21:05:58 -05008# the recipe contention so the order of directories in BBFILES does
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009# not matter.
10
11# We have a conf and classes directory, append to BBPATH
12BBPATH .= ":${LAYERDIR}"
13
14# We have a recipes directory, add to BBFILES
15BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
16
17BBFILE_COLLECTIONS += "openembedded-layer"
18BBFILE_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 Geissler9aee5002022-03-30 16:27:02 +000024BBFILE_PRIORITY_openembedded-layer = "5"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025
Andrew Geissler82c905d2020-04-13 13:39:40 -050026# only activates content when identified layers are present,
27# to ensure yocto compatibility check pass
28BBFILES_DYNAMIC += " \
Andrew Geissler32b11992021-03-31 13:37:05 -050029 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 Geisslerfc113ea2023-03-31 09:59:46 -050037 selinux:${LAYERDIR}/dynamic-layers/selinux/recipes-*/*/*.bb \
38 selinux:${LAYERDIR}/dynamic-layers/selinux/recipes-*/*/*.bbappend \
Andrew Geissler82c905d2020-04-13 13:39:40 -050039"
40
Patrick Williamsb48b7b42016-08-17 15:04:38 -050041# This should only be incremented on significant changes that will
42# cause compatibility issues with other layers
43LAYERVERSION_openembedded-layer = "1"
44
45LAYERDEPENDS_openembedded-layer = "core"
46
Patrick Williams03514f12024-04-05 07:04:11 -050047LAYERSERIES_COMPAT_openembedded-layer = "scarthgap"
Brad Bishop316dfdd2018-06-25 12:45:53 -040048
Patrick Williamsb48b7b42016-08-17 15:04:38 -050049LICENSE_PATH += "${LAYERDIR}/licenses"
50
Brad Bishop0f291cc2019-09-01 15:16:57 -040051PREFERRED_RPROVIDER_libdevmapper = "lvm2"
Patrick Williams705982a2024-01-12 09:51:57 -060052PREFERRED_RPROVIDER_libdevmapper-native = "lvm2-native"
Patrick Williamsb58112e2024-03-07 11:16:36 -060053PREFERRED_RPROVIDER_nativesdk-libdevmapper = "nativesdk-lvm2"
Andrew Geissler72956ed2021-01-08 16:11:14 -060054PREFERRED_PROVIDER_android-tools-conf ?= "android-tools-conf"
Patrick Williams92b42cb2022-09-03 06:53:57 -050055# Configures whether coreutils or uutils-coreutils is used.
56PREFERRED_PROVIDER_coreutils = "coreutils"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050057PREFERRED_PROVIDER_virtual/opencl-icd ?= "opencl-icd-loader"
Patrick Williams56b44a92024-01-19 08:49:29 -060058PREFERRED_RPROVIDER_virtual-opencl-icd ?= "opencl-icd-loader"
Brad Bishop0f291cc2019-09-01 15:16:57 -040059
Patrick Williamsb48b7b42016-08-17 15:04:38 -050060SIGGEN_EXCLUDERECIPES_ABISAFE += " \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050061 fbset-modes \
62 gpsd-machine-conf \
63 distro-feed-configs \
64 ca-certificates \
Patrick Williamsddad1a12017-02-23 20:36:32 -060065 pointercal \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050066"
67
68SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050069 android-tools->android-tools-conf \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050070 usb-modeswitch-data->usb-modeswitch \
71 lmsensors->lmsensors-config \
72 phoronix-test-suite->bash \
Andrew Geissler82c905d2020-04-13 13:39:40 -050073 phoronix-test-suite->python3 \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050074 phoronix-test-suite->php \
Brad Bishop0f291cc2019-09-01 15:16:57 -040075 phoronix-test-suite->lsb-release \
Brad Bishop26bdd442019-08-16 17:08:17 -040076 phoronix-test-suite->util-linux \
77 phoronix-test-suite->busybox \
Andrew Geissler82c905d2020-04-13 13:39:40 -050078 phoronix-test-suite->shared-mime-info \
79 phoronix-test-suite->desktop-file-utils \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050080"
81
82# ttf.inc inherits fontcache which adds fontconfig-utils to RDEPENDS
83SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
84 terminus-font->fontconfig \
Patrick Williamsddad1a12017-02-23 20:36:32 -060085 ttf-abyssinica->fontconfig \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050086 ttf-arphic-uming->fontconfig \
87 ttf-dejavu->fontconfig \
88 ttf-droid->fontconfig \
89 ttf-gentium->fontconfig \
Andrew Geissler220dafd2023-10-04 10:18:08 -050090 ttf-google-fira->fontconfig \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050091 ttf-hunkyfonts->fontconfig \
92 ttf-inconsolata->fontconfig \
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050093 ttf-ipa->fontconfig \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050094 ttf-liberation->fontconfig \
Patrick Williamsddad1a12017-02-23 20:36:32 -060095 ttf-liberation-sans-narrow->fontconfig \
96 ttf-lklug->fontconfig \
97 ttf-lohit->fontconfig \
Andrew Geissler82c905d2020-04-13 13:39:40 -050098 ttf-noto-emoji->fontconfig \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050099 ttf-pt-sans->fontconfig \
Brad Bishop87b3cb82019-11-15 16:35:37 -0500100 ttf-roboto->fontconfig \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500101 ttf-mplus->fontconfig \
102 ttf-sazanami->fontconfig \
Andrew Geisslerd159c7f2021-09-02 21:05:58 -0500103 ttf-takao->fontconfig \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500104 ttf-tlwg->fontconfig \
105 ttf-ubuntu-font-family->fontconfig \
Patrick Williamsddad1a12017-02-23 20:36:32 -0600106 ttf-vlgothic->fontconfig \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500107 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 Geisslerd688a012020-09-18 13:36:00 -0500112 source-code-pro-fonts->fontconfig \
Patrick Williamsb48b7b42016-08-17 15:04:38 -0500113"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800114
Patrick Williams213cb262021-08-07 19:21:33 -0500115DEFAULT_TEST_SUITES:pn-meta-oe-ptest-image = " ${PTESTTESTSUITE}"
Andrew Geisslerac970dd2021-02-12 15:32:45 -0600116
Patrick Williams169d7bc2024-01-05 11:33:25 -0600117NON_MULTILIB_RECIPES:append = " crash pahole libbpf"