From e8981bf43163d2fe90ea28b2952a2443ceaea934 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Tue, 3 Feb 2026 13:17:02 +0800 Subject: [PATCH] valkey: Restore DEBUG_PREFIX_MAP in TARGET_LDFLAGS oe-core has removed DEBUG_PREFIX_MAP from TARGET_LDFLAGS [1], restore it to fix the below error. ERROR: valkey-9.0.1-r0.wr2600 do_package_qa: QA Issue: File /usr/bin/.debug/valkey-cli in package valkey-dbg contains reference to TMPDIR [buildpaths] ERROR: valkey-9.0.1-r0.wr2600 do_package_qa: QA Issue: File /usr/bin/.debug/valkey-server in package valkey-dbg contains reference to TMPDIR [buildpaths] ERROR: valkey-9.0.1-r0.wr2600 do_package_qa: QA Issue: File /usr/bin/.debug/valkey-benchmark in package valkey-dbg contains reference to TMPDIR [buildpaths] ERROR: valkey-9.0.1-r0.wr2600 do_package_qa: Fatal QA errors were found, failing task. [1] https://git.openembedded.org/openembedded-core/commit/?id=1797741aad02b8bf429fac4b81e30cdda64b5448 Signed-off-by: Mingli Yu Signed-off-by: Khem Raj --- meta-oe/recipes-extended/valkey/valkey_9.0.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/valkey/valkey_9.0.1.bb b/meta-oe/recipes-extended/valkey/valkey_9.0.1.bb index 1f27224772..5b05bc2fe1 100644 --- a/meta-oe/recipes-extended/valkey/valkey_9.0.1.bb +++ b/meta-oe/recipes-extended/valkey/valkey_9.0.1.bb @@ -21,6 +21,8 @@ RPROVIDES:${PN} = "virtual-redis" inherit pkgconfig update-rc.d systemd useradd +TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}" + FINAL_LIBS:x86:toolchain-clang = "-latomic" FINAL_LIBS:riscv32 = "-latomic" FINAL_LIBS:mips = "-latomic"