Skip to contentSkip to conversation

tunctl: Restore DEBUG_PREFIX_MAP in TARGET_LDFLAGS

PATCH New [email protected] 1 participant 2 messages Feb 3

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 tunctl: Restore DEBUG_PREFIX_MAP in TARGET_LDFLAGS

From: Mingli Yu <[email protected]>

oe-core has removed DEBUG_PREFIX_MAP from TARGET_LDFLAGS [1], restore it to fix the below error.

ERROR: tunctl-1.5-r0.wr2401 do_package_qa: QA Issue: File /usr/sbin/.debug/tunctl in package tunctl-dbg contains reference to TMPDIR [buildpaths]
ERROR: tunctl-1.5-r0.wr2401 do_package_qa: Fatal QA errors were found, failing task.

[1] https://git.openembedded.org/openembedded-core/commit/?id=1797741aad02b8bf429fac4b81e30cdda64b5448

---
 meta-networking/recipes-support/tunctl/tunctl.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/tunctl/tunctl.inc +2 -0
index 5b759d32b6..1e7bc5a9fc 100644
@@ -9,6 +9,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/tunctl/tunctl-${PV}.tar.gz \
 
 inherit sourceforge-releases
 
+TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}"
+
 do_compile() {
     oe_runmake tunctl
 }
Signature · 1 line
2.34.1
#1 lore raw

PATCH 4/4 agent-proxy: Restore DEBUG_PREFIX_MAP in TARGET_LDFLAGS

From: Mingli Yu <[email protected]>

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

---
 meta-oe/recipes-kernel/agent-proxy/agent-proxy_1.97.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-kernel/agent-proxy/agent-proxy_1.97.bb +2 -0
index 8e0d6442f9..2ad41da957 100644
@@ -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"
 
 
Signature · 1 line
2.34.1