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>
(cherry picked from commit 0cd6283a4174453ac8d927d917268ba0c3161a02)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Jef Driesen 2025-08-20 14:34:27 +02:00 committed by Anuj Mittal
parent 2392237655
commit fd29867987
No known key found for this signature in database
GPG Key ID: B749E1556041E1B2

View File

@ -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[md5sum] = "bfee0cef50d7b7bd1df03bfadf68dcef"
SRC_URI[sha256sum] = "987031ad5528c8a746d4b52b380bc1bffe412de1f2b9c2ba5224995668e3240b"