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
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
24BBFILE_PRIORITY_openembedded-layer = "6"
25
26# only activates content when identified layers are present,
27# to ensure yocto compatibility check pass
28BBFILES_DYNAMIC += " \
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 \
37"
38
39# This should only be incremented on significant changes that will
40# cause compatibility issues with other layers
41LAYERVERSION_openembedded-layer = "1"
42
43LAYERDEPENDS_openembedded-layer = "core"
44
45LAYERSERIES_COMPAT_openembedded-layer = "honister"
46
47LICENSE_PATH += "${LAYERDIR}/licenses"
48
49PREFERRED_RPROVIDER_libdevmapper = "lvm2"
50PREFERRED_PROVIDER_android-tools-conf ?= "android-tools-conf"
51
52SIGGEN_EXCLUDERECIPES_ABISAFE += " \
53  fbset-modes \
54  gpsd-machine-conf \
55  distro-feed-configs \
56  ca-certificates \
57  pointercal \
58"
59
60SIGGEN_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
74# ttf.inc inherits fontcache which adds fontconfig-utils to RDEPENDS
75SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
76  terminus-font->fontconfig \
77  ttf-abyssinica->fontconfig \
78  ttf-arphic-uming->fontconfig \
79  ttf-dejavu->fontconfig \
80  ttf-droid->fontconfig \
81  ttf-gentium->fontconfig \
82  ttf-hunkyfonts->fontconfig \
83  ttf-inconsolata->fontconfig \
84  ttf-liberation->fontconfig \
85  ttf-liberation-sans-narrow->fontconfig \
86  ttf-lklug->fontconfig \
87  ttf-lohit->fontconfig \
88  ttf-noto-emoji->fontconfig \
89  ttf-pt-sans->fontconfig \
90  ttf-roboto->fontconfig \
91  ttf-mplus->fontconfig \
92  ttf-sazanami->fontconfig \
93  ttf-tlwg->fontconfig \
94  ttf-ubuntu-font-family->fontconfig \
95  ttf-vlgothic->fontconfig \
96  ttf-wqy-zenhei->fontconfig \
97  source-han-sans-cn-fonts->fontconfig \
98  source-han-sans-jp-fonts->fontconfig \
99  source-han-sans-kr-fonts->fontconfig \
100  source-han-sans-tw-fonts->fontconfig \
101  source-code-pro-fonts->fontconfig \
102"
103
104DEFAULT_TEST_SUITES:pn-meta-oe-ptest-image = " ${PTESTTESTSUITE}"
105
106NON_MULTILIB_RECIPES:append = " crash"
107