From db0ddbad35014844fc03bf7bbaf349078dd5b176 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 9 Jun 2026 21:17:24 -0700 Subject: lcov: upgrade 1.16 -> 2.4 Signed-off-by: Khem Raj --- meta-oe/recipes-support/lcov/lcov_1.16.bb | 63 ------------------------------- meta-oe/recipes-support/lcov/lcov_2.4.bb | 63 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 63 deletions(-) delete mode 100755 meta-oe/recipes-support/lcov/lcov_1.16.bb create mode 100755 meta-oe/recipes-support/lcov/lcov_2.4.bb diff --git a/meta-oe/recipes-support/lcov/lcov_1.16.bb b/meta-oe/recipes-support/lcov/lcov_1.16.bb deleted file mode 100755 index a889b3fa82..0000000000 --- a/meta-oe/recipes-support/lcov/lcov_1.16.bb +++ /dev/null @@ -1,63 +0,0 @@ -SUMMARY = "A graphical front-end for gcov" -HOMEPAGE = "https://github.com/linux-test-project/lcov" -DESCRIPTION = "LCOV is a graphical front-end for GCC's coverage testing \ -tool gcov. It collects gcov data for multiple source files and creates \ -HTML pages containing the source code annotated with coverage information. \ -It also adds overview pages for easy navigation within the file structure. \ -LCOV supports statement, function and branch coverage measurement." -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" - -RDEPENDS:${PN} += " \ - libjson-perl \ - perl \ - perl-module-compress-zlib \ - perl-module-constant \ - perl-module-cwd \ - perl-module-digest-md5 \ - perl-module-digest-sha \ - perl-module-errno \ - perl-module-file-basename \ - perl-module-file-copy \ - perl-module-file-find \ - perl-module-file-path \ - perl-module-file-spec \ - perl-module-file-spec-functions \ - perl-module-file-spec-unix \ - perl-module-file-temp \ - perl-module-filehandle \ - perl-module-getopt-long \ - perl-module-getopt-std \ - perl-module-list-util \ - perl-module-load \ - perl-module-metadata \ - perl-module-mro \ - perl-module-overload \ - perl-module-overload-numbers \ - perl-module-overloading \ - perl-module-parent \ - perl-module-pod-usage \ - perl-module-posix \ - perl-module-re \ - perl-module-safe \ - perl-module-scalar-util \ - perl-module-term-cap \ - perl-module-text-parsewords \ - perl-module-tie-hash \ -" - -RDEPENDS:${PN}:append:class-target = " \ - gcov \ - gcov-symlinks \ -" -SRC_URI = "https://github.com/linux-test-project/lcov/releases/download/v${PV}/lcov-${PV}.tar.gz" -SRC_URI[sha256sum] = "987031ad5528c8a746d4b52b380bc1bffe412de1f2b9c2ba5224995668e3240b" - -UPSTREAM_CHECK_URI = "https://github.com/linux-test-project/lcov/releases" -UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" - -do_install() { - oe_runmake install PREFIX=${D}${prefix} CFG_DIR=${D}${sysconfdir} LCOV_PERL_PATH="/usr/bin/env perl" -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/lcov/lcov_2.4.bb b/meta-oe/recipes-support/lcov/lcov_2.4.bb new file mode 100755 index 0000000000..210cae45f6 --- /dev/null +++ b/meta-oe/recipes-support/lcov/lcov_2.4.bb @@ -0,0 +1,63 @@ +SUMMARY = "A graphical front-end for gcov" +HOMEPAGE = "https://github.com/linux-test-project/lcov" +DESCRIPTION = "LCOV is a graphical front-end for GCC's coverage testing \ +tool gcov. It collects gcov data for multiple source files and creates \ +HTML pages containing the source code annotated with coverage information. \ +It also adds overview pages for easy navigation within the file structure. \ +LCOV supports statement, function and branch coverage measurement." +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" + +RDEPENDS:${PN} += " \ + libjson-perl \ + perl \ + perl-module-compress-zlib \ + perl-module-constant \ + perl-module-cwd \ + perl-module-digest-md5 \ + perl-module-digest-sha \ + perl-module-errno \ + perl-module-file-basename \ + perl-module-file-copy \ + perl-module-file-find \ + perl-module-file-path \ + perl-module-file-spec \ + perl-module-file-spec-functions \ + perl-module-file-spec-unix \ + perl-module-file-temp \ + perl-module-filehandle \ + perl-module-getopt-long \ + perl-module-getopt-std \ + perl-module-list-util \ + perl-module-load \ + perl-module-metadata \ + perl-module-mro \ + perl-module-overload \ + perl-module-overload-numbers \ + perl-module-overloading \ + perl-module-parent \ + perl-module-pod-usage \ + perl-module-posix \ + perl-module-re \ + perl-module-safe \ + perl-module-scalar-util \ + perl-module-term-cap \ + perl-module-text-parsewords \ + perl-module-tie-hash \ +" + +RDEPENDS:${PN}:append:class-target = " \ + gcov \ + gcov-symlinks \ +" +SRC_URI = "https://github.com/linux-test-project/lcov/releases/download/v${PV}/lcov-${PV}.tar.gz" +SRC_URI[sha256sum] = "3457825c6b2fe4ef77c782b82a23875c84a3c955243823f05d8f2dec0d455820" + +UPSTREAM_CHECK_URI = "https://github.com/linux-test-project/lcov/releases" +UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" + +do_install() { + oe_runmake install PREFIX=${D}${prefix} CFG_DIR=${D}${sysconfdir} LCOV_PERL_PATH="/usr/bin/env perl" +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf