mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
glibc-testsuite: SkipRecipe if libc is not glibc
To prevent issues with parsing or dependencies, limit this recipe to use only when the libc is glibc (and libc-locale is glibc-locale). (From OE-Core rev: 88849a0652f1a9cffd5c1b5caae2878b3a438273) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bc66b2f45a
commit
9654327307
@@ -8,6 +8,13 @@ PROVIDES = ""
|
||||
# setup depends
|
||||
INHIBIT_DEFAULT_DEPS = ""
|
||||
|
||||
python () {
|
||||
libc = d.getVar("PREFERRED_PROVIDER_virtual/libc")
|
||||
libclocale = d.getVar("PREFERRED_PROVIDER_virtual/libc-locale")
|
||||
if libc != "glibc" or libclocale != "glibc-locale":
|
||||
raise bb.parse.SkipRecipe("glibc-testsuite requires that virtual/libc is glibc")
|
||||
}
|
||||
|
||||
DEPENDS += "glibc-locale libgcc gcc-runtime"
|
||||
|
||||
# remove the initial depends
|
||||
|
||||
Reference in New Issue
Block a user