Skip to contentSkip to conversation

lcov: fix lcov-native build

PATCH New Martin Jansa 1 participant 1 message Aug 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lcov: fix lcov-native build

* there is no provider for gcov-native nor gcov-symlinks-native

---
 meta-oe/recipes-support/lcov/lcov_1.14.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-oe/recipes-support/lcov/lcov_1.14.bb +5 -2
index 14718184bd..0cc8b31b3f 100755
@@ -9,8 +9,6 @@ LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
 RDEPENDS_${PN} += " \
-    gcov \
-    gcov-symlinks \
     libjson-perl \
     libperlio-gzip-perl \
     perl \
@@ -46,6 +44,11 @@ RDEPENDS_${PN} += " \
     perl-module-tie-hash \
 "
 
+RDEPENDS_${PN}_append_class-target = " \
+    gcov \
+    gcov-symlinks \
+"
+
 SRC_URI = " \
            http://downloads.sourceforge.net/ltp/${BP}.tar.gz \
            file://0001-geninfo-Add-intermediate-text-format-support.patch \
Signature · 1 line
2.25.1