summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-recipe/rust-target-config.bbclass4
-rw-r--r--meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py4
-rw-r--r--meta/recipes-extended/pam/libpam_1.7.1.bb2
3 files changed, 8 insertions, 2 deletions
diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass
index 6e6b500f5d..0c7e3c0090 100644
--- a/meta/classes-recipe/rust-target-config.bbclass
+++ b/meta/classes-recipe/rust-target-config.bbclass
@@ -403,6 +403,10 @@ def rust_gen_target(d, thing, wd, arch):
403 tspec['llvm-abiname'] = d.getVar('TUNE_RISCV_ABI') 403 tspec['llvm-abiname'] = d.getVar('TUNE_RISCV_ABI')
404 if "loongarch64" in tspec['llvm-target']: 404 if "loongarch64" in tspec['llvm-target']:
405 tspec['llvm-abiname'] = "lp64d" 405 tspec['llvm-abiname'] = "lp64d"
406 if "powerpc64le" in tspec['llvm-target']:
407 tspec['llvm-abiname'] = "elfv2"
408 if "powerpc64" in tspec['llvm-target']:
409 tspec['llvm-abiname'] = "elfv1"
406 tspec['vendor'] = "unknown" 410 tspec['vendor'] = "unknown"
407 tspec['target-family'] = "unix" 411 tspec['target-family'] = "unix"
408 tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE'), prefix) 412 tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE'), prefix)
diff --git a/meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py b/meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py
index 312edb6431..b1015d60ef 100644
--- a/meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py
+++ b/meta/lib/oeqa/selftest/cases/yoctotestresultsquerytests.py
@@ -18,8 +18,8 @@ sys.path = sys.path + [lib_path]
18class TestResultsQueryTests(OESelftestTestCase): 18class TestResultsQueryTests(OESelftestTestCase):
19 def test_get_sha1(self): 19 def test_get_sha1(self):
20 test_data_get_sha1 = [ 20 test_data_get_sha1 = [
21 {"input": "yocto-4.0", "expected": "00cfdde791a0176c134f31e5a09eff725e75b905"}, 21 {"input": "yocto-4.0", "expected": "92fcb6570bddd0c5717d8cfdf38ecf3e44942b0f"},
22 {"input": "4.1_M1", "expected": "95066dde6861ee08fdb505ab3e0422156cc24fae"}, 22 {"input": "yocto-5.2", "expected": "6ec2c52b938302b894f119f701ffcf0a847eee85"},
23 ] 23 ]
24 for data in test_data_get_sha1: 24 for data in test_data_get_sha1:
25 test_name = data["input"] 25 test_name = data["input"]
diff --git a/meta/recipes-extended/pam/libpam_1.7.1.bb b/meta/recipes-extended/pam/libpam_1.7.1.bb
index 565b00c264..8d9ea27028 100644
--- a/meta/recipes-extended/pam/libpam_1.7.1.bb
+++ b/meta/recipes-extended/pam/libpam_1.7.1.bb
@@ -30,6 +30,8 @@ DEPENDS = "bison-native flex-native libxml2-native virtual/crypt"
30 30
31EXTRA_OEMESON = "-Ddocs=disabled -Dsecuredir=${base_libdir}/security" 31EXTRA_OEMESON = "-Ddocs=disabled -Dsecuredir=${base_libdir}/security"
32 32
33LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}"
34
33S = "${UNPACKDIR}/Linux-PAM-${PV}" 35S = "${UNPACKDIR}/Linux-PAM-${PV}"
34 36
35inherit meson gettext pkgconfig systemd ptest github-releases 37inherit meson gettext pkgconfig systemd ptest github-releases