aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/tcltk
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2023-12-20 14:56:48 +0800
committerKhem Raj <raj.khem@gmail.com>2023-12-21 08:00:40 -0800
commit4bd31c4915094071a114fd5339e0d9db8dcbb11f (patch)
tree45ba6e9bbc37f169d420ece5c8b19ae3d664579f /meta-oe/recipes-devtools/tcltk
parentdecf7095704a947fff76769421cb91a4aa99a58b (diff)
downloadmeta-openembedded-contrib-4bd31c4915094071a114fd5339e0d9db8dcbb11f.tar.gz
tk: Remove buildpath issue
Though the S defined as ${WORKDIR}/${BPN}${PV}/unix, but some source files come from such as ${WORKDIR}/${BPN}${PV}/unix/../generic, so add "-fdebug-prefix-map=${S}/../" to fix the below buildpath issue: WARNING: tk-8.6.10-r0 do_package_qa: QA Issue: File /usr/lib64/.debug/libtk8.6.so in package tk-dbg contains reference to TMPDIR File /usr/bin/.debug/wish8.6 in package tk-dbg contains reference to TMPDIR [buildpaths] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/tcltk')
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb b/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb
index f3cab4e610..237c4e7389 100644
--- a/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb
+++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb
@@ -28,6 +28,8 @@ SRC_URI[sha256sum] = "63df418a859d0a463347f95ded5cd88a3dd3aaa1ceecaeee362194bc30
S = "${WORKDIR}/${BPN}${PV}/unix"
+DEBUG_PREFIX_MAP += "-fdebug-prefix-map=${S}/../=${TARGET_DBGSRC_DIR}/.."
+
PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/${BPN}${PV}"
# Short version format: "8.6"