summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJef Driesen <jefdriesen@telenet.be>2025-08-20 14:34:27 +0200
committerGyorgy Sarvari <skandigraun@gmail.com>2025-09-07 07:37:56 +0200
commit0cd6283a4174453ac8d927d917268ba0c3161a02 (patch)
tree57f2bf43a1c18ddf87d335653624a062e75d48fa
parent6841fa4ff5ad9016c836dfa180e7c2f70df095e1 (diff)
downloadmeta-openembedded-0cd6283a4174453ac8d927d917268ba0c3161a02.tar.gz
lcov: Add missing RDEPENDS for nativesdk
When building an SDK with lcov included, gcov isn't included in the SDK by default. Running lcov to generate coverage fails, because it tries to use the gcov binary from the host system instead and that cause problems if the gcc versions do not match. Signed-off-by: Jef Driesen <jefdriesen@telenet.be> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
-rwxr-xr-xmeta-oe/recipes-support/lcov/lcov_1.16.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lcov/lcov_1.16.bb b/meta-oe/recipes-support/lcov/lcov_1.16.bb
index a889b3fa82..0d19d50077 100755
--- a/meta-oe/recipes-support/lcov/lcov_1.16.bb
+++ b/meta-oe/recipes-support/lcov/lcov_1.16.bb
@@ -50,6 +50,12 @@ RDEPENDS:${PN}:append:class-target = " \
50 gcov \ 50 gcov \
51 gcov-symlinks \ 51 gcov-symlinks \
52" 52"
53
54RDEPENDS:${PN}:append:class-nativesdk = " \
55 nativesdk-gcov \
56 nativesdk-gcov-symlinks \
57"
58
53SRC_URI = "https://github.com/linux-test-project/lcov/releases/download/v${PV}/lcov-${PV}.tar.gz" 59SRC_URI = "https://github.com/linux-test-project/lcov/releases/download/v${PV}/lcov-${PV}.tar.gz"
54SRC_URI[sha256sum] = "987031ad5528c8a746d4b52b380bc1bffe412de1f2b9c2ba5224995668e3240b" 60SRC_URI[sha256sum] = "987031ad5528c8a746d4b52b380bc1bffe412de1f2b9c2ba5224995668e3240b"
55 61