summaryrefslogtreecommitdiffstats
path: root/meta/conf/layer.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-04 14:15:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-05 10:45:13 +0000
commitb7307ce4d7f2ea6c6edd12795552331d6e9bceec (patch)
treedb201eb7b3ce9bd3d15ccda28d278c90ead2670c /meta/conf/layer.conf
parentc2938cc543d0fd6b31ae9faf97c97953274804ed (diff)
downloadpoky-b7307ce4d7f2ea6c6edd12795552331d6e9bceec.tar.gz
layer.conf: Filter docs dependencies for efficiency
Where a recipe has depends on native docs tools, in most cases we don't need recipes that depend on that recipe to also install these things into the sysroot. We can rely on recipes wanting these tools to have direct dependencies instead. This massively reduced dependency creep in simple recipes (e.g. an allarch one) and reduced the size of builds with the api-documentation feature substancially. gperf-native is also included since that would normally have a direct dependency in a recipe which needs it too. (From OE-Core rev: 9bbb5334e1d1884e042dc3b3ec0eb274664f2c25) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/layer.conf')
-rw-r--r--meta/conf/layer.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index bdeb8a4758..77a765d7cb 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -100,6 +100,10 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\
100 .*->patch-native \ 100 .*->patch-native \
101 .*->pkgconfig-native \ 101 .*->pkgconfig-native \
102 .*->quilt-native \ 102 .*->quilt-native \
103 ^(?!gtk-doc-native).*->xmlto-native \
104 .*->gperf-native \
105 .*->gtk-doc-native \
106 .*->texinfo-native \
103" 107"
104# Nothing needs to depend on libc-initial 108# Nothing needs to depend on libc-initial
105# base-passwd/shadow-sysroot don't need their dependencies 109# base-passwd/shadow-sysroot don't need their dependencies