1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +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:
André Draszik
2018-05-22 13:25:51 +01:00
committed by Richard Purdie
parent 7b7aa56548
commit e02176b5e6
2 changed files with 5 additions and 3 deletions
-3
View File
@@ -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.