agent-proxy: 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: agent-proxy-1.97-r0.wr2600 do_package_qa: QA Issue: File /usr/bin/.debug/agent-proxy in package agent-proxy-dbg contains reference to TMPDIR [buildpaths]
ERROR: agent-proxy-1.97-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 <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Mingli Yu 2026-02-03 13:17:50 +08:00 committed by Khem Raj
parent a4d79609a4
commit d3cdd51235
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -14,6 +14,8 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git;protoc
file://0001-Makefile-Add-LDFLAGS-variable.patch \
"
TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}"
BBCLASSEXTEND = "native nativesdk"