mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
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>
This commit is contained in:
@@ -48,6 +48,7 @@ SIGGEN_EXCLUDERECIPES_ABISAFE += " \
|
||||
"
|
||||
|
||||
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
|
||||
*->patch-native \
|
||||
*->quilt-native \
|
||||
*->subversion-native \
|
||||
*->git-native \
|
||||
@@ -90,7 +91,16 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
|
||||
# (e.g. X -> Y -> binutils-cross -> bison-native) no longer meet the
|
||||
# dependency incidentally. This improves determinism and avoids build
|
||||
# failures when people switch to external toolchains.
|
||||
SSTATE_EXCLUDEDEPS_SYSROOT += ".*->bison-native"
|
||||
SSTATE_EXCLUDEDEPS_SYSROOT += "\
|
||||
.*->autoconf-native \
|
||||
.*->automake-native \
|
||||
.*->bison-native \
|
||||
.*->meson-native \
|
||||
.*->ninja-native \
|
||||
.*->patch-native \
|
||||
.*->pkgconfig-native \
|
||||
.*->quilt-native \
|
||||
"
|
||||
# Nothing needs to depend on libc-initial
|
||||
# base-passwd/shadow-sysroot don't need their dependencies
|
||||
SSTATE_EXCLUDEDEPS_SYSROOT += "\
|
||||
|
||||
Reference in New Issue
Block a user