summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb
index cc7bf01d73..7d935d523b 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_git.bb
@@ -34,27 +34,3 @@ ALLOW_EMPTY_${PN} = "1"
34FILES_${PN} = "${libdir}/libabsl_*.so ${libdir}/cmake" 34FILES_${PN} = "${libdir}/libabsl_*.so ${libdir}/cmake"
35FILES_${PN}-dev = "${includedir}" 35FILES_${PN}-dev = "${includedir}"
36 36
37python () {
38 arch = d.getVar("TARGET_ARCH")
39
40 if arch == "aarch64":
41 tunes = d.getVar("TUNE_FEATURES")
42 if not tunes:
43 raise bb.parse.SkipRecipe("%s-%s Needs support for crypto on armv8" % (pkgn, pkgv))
44 return
45 pkgn = d.getVar("PN")
46 pkgv = d.getVar("PV")
47 if "crypto" not in tunes:
48 raise bb.parse.SkipRecipe("%s-%s Needs support for crypto on armv8" % (pkgn, pkgv))
49
50 if arch == "x86_64":
51 tunes = d.getVar("TUNE_FEATURES")
52 if not tunes:
53 raise bb.parse.SkipRecipe("%s-%s Needs support for corei7 on x86_64" % (pkgn, pkgv))
54 return
55 pkgn = d.getVar("PN")
56 pkgv = d.getVar("PV")
57 if "corei7" not in tunes:
58 raise bb.parse.SkipRecipe("%s-%s Needs support for corei7 on x86_64" % (pkgn, pkgv))
59
60}