diff options
Diffstat (limited to 'poky/meta/recipes-core/glibc/glibc-testsuite_2.30.bb')
-rw-r--r-- | poky/meta/recipes-core/glibc/glibc-testsuite_2.30.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/poky/meta/recipes-core/glibc/glibc-testsuite_2.30.bb b/poky/meta/recipes-core/glibc/glibc-testsuite_2.30.bb index 64fa8d87d..657fd4dbc 100644 --- a/poky/meta/recipes-core/glibc/glibc-testsuite_2.30.bb +++ b/poky/meta/recipes-core/glibc/glibc-testsuite_2.30.bb @@ -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 |