]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
valgrind: drop PE, PR from /usr/src/debug paths
authorMartin Jansa <martin.jansa@gmail.com>
Thu, 16 Nov 2023 22:48:34 +0000 (23:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Nov 2023 15:30:46 +0000 (15:30 +0000)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-devtools/valgrind/valgrind_3.21.0.bb

index 68ab319a1bd0b6169a1b05092db085497ea0dac9..67a197c5097b86555e6219f134a4ccff401e7d8a 100644 (file)
@@ -239,8 +239,8 @@ do_install_ptest() {
 
     # As the binary isn't stripped or debug-splitted, the source file isn't fetched
     # via dwarfsrcfiles either, so it needs to be installed manually.
-    mkdir -p ${D}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/none/tests/
-    install ${S}/none/tests/tls.c ${D}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}/none/tests/
+    mkdir -p ${D}${TARGET_DBGSRC_DIR}/none/tests/
+    install ${S}/none/tests/tls.c ${D}${TARGET_DBGSRC_DIR}/none/tests/
 }
 
 do_install_ptest:append:x86-64 () {