summaryrefslogtreecommitdiffstats
path: root/meta-skeleton/recipes-skeleton/service/service_0.1.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-16 10:30:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-17 19:57:32 +0100
commitd63de87dd63b37d56e967db1d0703fdef291f181 (patch)
treede934bb5dfe92b09e15bbf2f0f8b7a28950a7b1b /meta-skeleton/recipes-skeleton/service/service_0.1.bb
parent5edbe597fe0aad20d5c674f247a89cc9662b4fdb (diff)
downloadpoky-d63de87dd63b37d56e967db1d0703fdef291f181.tar.gz
skeleton/service: Ensure debug path handling works as intended
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. (From OE-Core rev: 299abc1d69db13924f02d922139051126f19b306) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton/recipes-skeleton/service/service_0.1.bb')
-rw-r--r--meta-skeleton/recipes-skeleton/service/service_0.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-skeleton/recipes-skeleton/service/service_0.1.bb b/meta-skeleton/recipes-skeleton/service/service_0.1.bb
index d1d8c5f365..912f6b0f61 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 \
9 file://COPYRIGHT \ 9 file://COPYRIGHT \
10 " 10 "
11 11
12S = "${WORKDIR}"
13
12do_compile () { 14do_compile () {
13 ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/skeleton_test.c -o ${WORKDIR}/skeleton-test 15 ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/skeleton_test.c -o ${WORKDIR}/skeleton-test
14} 16}