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>
This commit is contained in:
Jef Driesen
2025-08-20 14:34:27 +02:00
committed by Gyorgy Sarvari
parent 6841fa4ff5
commit 0cd6283a41
@@ -50,6 +50,12 @@ RDEPENDS:${PN}:append:class-target = " \
gcov \
gcov-symlinks \
"
RDEPENDS:${PN}:append:class-nativesdk = " \
nativesdk-gcov \
nativesdk-gcov-symlinks \
"
SRC_URI = "https://github.com/linux-test-project/lcov/releases/download/v${PV}/lcov-${PV}.tar.gz"
SRC_URI[sha256sum] = "987031ad5528c8a746d4b52b380bc1bffe412de1f2b9c2ba5224995668e3240b"