mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
sstate: use SSTATE_EXCLUDEDEPS_SYSROOT for skipping *-initial recipes
Use the newly introduced SSTATE_EXCLUDEDEPS_SYSROOT for specifying the *-initial recipes to be excluded from a recipe sysroot. (From OE-Core rev: 6706bad52f9311ea79c534ee90014c3216992999) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7b7aa56548
commit
e02176b5e6
@@ -978,9 +978,6 @@ def setscene_depvalid(task, taskdependees, notneeded, d, log=None):
|
||||
# base-passwd/shadow-sysroot don't need their dependencies
|
||||
if taskdependees[dep][0].endswith(("base-passwd", "shadow-sysroot")):
|
||||
continue
|
||||
# Nothing need depend on libc-initial/gcc-cross-initial
|
||||
if "-initial" in taskdependees[task][0]:
|
||||
continue
|
||||
# Allow excluding certain recursive dependencies. If a recipe needs it should add a
|
||||
# specific dependency itself, rather than relying on one of its dependees to pull
|
||||
# them in.
|
||||
|
||||
@@ -78,5 +78,10 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
|
||||
weston-init->kbd \
|
||||
"
|
||||
|
||||
# Nothing needs to depend on libc-initial/gcc-cross-initial
|
||||
SSTATE_EXCLUDEDEPS_SYSROOT += "\
|
||||
.*->.*-initial.* \
|
||||
"
|
||||
|
||||
# We need to keep bitbake tools in PATH
|
||||
PATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}"
|
||||
|
||||
Reference in New Issue
Block a user