diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-19 16:17:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-11 18:41:37 +0100 |
commit | 04b37f914ed10caf8e24c58cd67fd508cd95fd6d (patch) | |
tree | 94046bc174fa466852cd9bf0b9f0be856fe6aff2 /meta/conf/layer.conf | |
parent | f6d1126fff213460dc6954a5d5fc168606d76b66 (diff) | |
download | poky-04b37f914ed10caf8e24c58cd67fd508cd95fd6d.tar.gz |
layer.conf: Extend recipes not to install without explict dependencies
There are several dependencies which recipes have which are not needed
at runtime, only at build time. Extend the list of these from bison to
include quilt, patch, meson, autoconf, automake and ninja which should
reduce the amount of data being included in native sysroots.
This speeds up and reduces the sstate needed for image builds for example.
If this change breaks recipes, it probably means they're missing an explicit
DEPENDS on something in this list which is a bug in the recipe.
(From OE-Core rev: 8e26252b45b7660c7c67c702411bdec187a76ffc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/layer.conf')
-rw-r--r-- | meta/conf/layer.conf | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index 307ad7e223..b3cc8a249e 100644 --- a/meta/conf/layer.conf +++ b/meta/conf/layer.conf | |||
@@ -48,6 +48,7 @@ SIGGEN_EXCLUDERECIPES_ABISAFE += " \ | |||
48 | " | 48 | " |
49 | 49 | ||
50 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ | 50 | SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ |
51 | *->patch-native \ | ||
51 | *->quilt-native \ | 52 | *->quilt-native \ |
52 | *->subversion-native \ | 53 | *->subversion-native \ |
53 | *->git-native \ | 54 | *->git-native \ |
@@ -90,7 +91,16 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ | |||
90 | # (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the | 91 | # (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the |
91 | # dependency incidentally. This improves determinism and avoids build | 92 | # dependency incidentally. This improves determinism and avoids build |
92 | # failures when people switch to external toolchains. | 93 | # failures when people switch to external toolchains. |
93 | SSTATE_EXCLUDEDEPS_SYSROOT += ".*->bison-native" | 94 | SSTATE_EXCLUDEDEPS_SYSROOT += "\ |
95 | .*->autoconf-native \ | ||
96 | .*->automake-native \ | ||
97 | .*->bison-native \ | ||
98 | .*->meson-native \ | ||
99 | .*->ninja-native \ | ||
100 | .*->patch-native \ | ||
101 | .*->pkgconfig-native \ | ||
102 | .*->quilt-native \ | ||
103 | " | ||
94 | # Nothing needs to depend on libc-initial | 104 | # Nothing needs to depend on libc-initial |
95 | # base-passwd/shadow-sysroot don't need their dependencies | 105 | # base-passwd/shadow-sysroot don't need their dependencies |
96 | SSTATE_EXCLUDEDEPS_SYSROOT += "\ | 106 | SSTATE_EXCLUDEDEPS_SYSROOT += "\ |