DEBUG_PREFIX_MAP uses ${S} but that wasn't set correctly for this
recipe meaning cwd during the build (WORKDIR) was encoded into the
binary leading to buildpath warnings in debug symbols. Set S correctly
to avoid this issue.

Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
---
 meta-skeleton/recipes-skeleton/service/service_0.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-skeleton/recipes-skeleton/service/service_0.1.bb 
b/meta-skeleton/recipes-skeleton/service/service_0.1.bb
index d1d8c5f3656..912f6b0f611 100644
--- a/meta-skeleton/recipes-skeleton/service/service_0.1.bb
+++ b/meta-skeleton/recipes-skeleton/service/service_0.1.bb
@@ -9,6 +9,8 @@ SRC_URI = "file://skeleton \
           file://COPYRIGHT \
           "
 
+S = "${WORKDIR}"
+
 do_compile () {
        ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/skeleton_test.c -o 
${WORKDIR}/skeleton-test
 }
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169462): 
https://lists.openembedded.org/g/openembedded-core/message/169462
Mute This Topic: https://lists.openembedded.org/mt/93068153/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to