summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/glibc/glibc-testsuite_2.30.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.30.bb b/meta/recipes-core/glibc/glibc-testsuite_2.30.bb
index 64fa8d87df..657fd4dbc1 100644
--- a/meta/recipes-core/glibc/glibc-testsuite_2.30.bb
+++ b/meta/recipes-core/glibc/glibc-testsuite_2.30.bb
@@ -8,6 +8,13 @@ PROVIDES = ""
8# setup depends 8# setup depends
9INHIBIT_DEFAULT_DEPS = "" 9INHIBIT_DEFAULT_DEPS = ""
10 10
11python () {
12 libc = d.getVar("PREFERRED_PROVIDER_virtual/libc")
13 libclocale = d.getVar("PREFERRED_PROVIDER_virtual/libc-locale")
14 if libc != "glibc" or libclocale != "glibc-locale":
15 raise bb.parse.SkipRecipe("glibc-testsuite requires that virtual/libc is glibc")
16}
17
11DEPENDS += "glibc-locale libgcc gcc-runtime" 18DEPENDS += "glibc-locale libgcc gcc-runtime"
12 19
13# remove the initial depends 20# remove the initial depends