From 64da76d328a101393acfb2dcf1de7d0649752843 Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Thu, 2 May 2019 16:32:32 -0700 Subject: [PATCH] DRAFT cppcheck: Rename from cppcheck-native; add BBCLASSEXTEND = "native" --- recipes-sca/{cppcheck-native => cppcheck}/cppcheck.inc | 6 +++--- .../cppcheck-native_1.87.bb => cppcheck/cppcheck_1.87.bb} | 0 .../{cppcheck-native => cppcheck}/files/0001-makefile.patch | 0 .../files/0002-pkgconfig-instaed-of-pcre-config.patch | 0 .../files/cppcheck.sca.description | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename recipes-sca/{cppcheck-native => cppcheck}/cppcheck.inc (94%) rename recipes-sca/{cppcheck-native/cppcheck-native_1.87.bb => cppcheck/cppcheck_1.87.bb} (100%) rename recipes-sca/{cppcheck-native => cppcheck}/files/0001-makefile.patch (100%) rename recipes-sca/{cppcheck-native => cppcheck}/files/0002-pkgconfig-instaed-of-pcre-config.patch (100%) rename recipes-sca/{cppcheck-native => cppcheck}/files/cppcheck.sca.description (100%) diff --git a/recipes-sca/cppcheck-native/cppcheck.inc b/recipes-sca/cppcheck/cppcheck.inc similarity index 94% rename from recipes-sca/cppcheck-native/cppcheck.inc rename to recipes-sca/cppcheck/cppcheck.inc index 87dc9cf..7d6acfc 100644 --- a/recipes-sca/cppcheck-native/cppcheck.inc +++ b/recipes-sca/cppcheck/cppcheck.inc @@ -5,11 +5,9 @@ HOMEPAGE = " http://cppcheck.sourceforge.net/" BUGTRACKER = " https://trac.cppcheck.net/" LICENSE = "GPLv3" -inherit native - inherit pkgconfig -DEPENDS = "libpcre-native" +DEPENDS = "libpcre" ## we don't need debug packages INHIBIT_PACKAGE_DEBUG_SPLIT = "1" @@ -32,3 +30,5 @@ do_install() { install -D ${B}/htmlreport/cppcheck-htmlreport ${D}${bindir} install ${WORKDIR}/cppcheck.sca.description ${D}${datadir} } + +BBCLASSEXTEND = "native" diff --git a/recipes-sca/cppcheck-native/cppcheck-native_1.87.bb b/recipes-sca/cppcheck/cppcheck_1.87.bb similarity index 100% rename from recipes-sca/cppcheck-native/cppcheck-native_1.87.bb rename to recipes-sca/cppcheck/cppcheck_1.87.bb diff --git a/recipes-sca/cppcheck-native/files/0001-makefile.patch b/recipes-sca/cppcheck/files/0001-makefile.patch similarity index 100% rename from recipes-sca/cppcheck-native/files/0001-makefile.patch rename to recipes-sca/cppcheck/files/0001-makefile.patch diff --git a/recipes-sca/cppcheck-native/files/0002-pkgconfig-instaed-of-pcre-config.patch b/recipes-sca/cppcheck/files/0002-pkgconfig-instaed-of-pcre-config.patch similarity index 100% rename from recipes-sca/cppcheck-native/files/0002-pkgconfig-instaed-of-pcre-config.patch rename to recipes-sca/cppcheck/files/0002-pkgconfig-instaed-of-pcre-config.patch diff --git a/recipes-sca/cppcheck-native/files/cppcheck.sca.description b/recipes-sca/cppcheck/files/cppcheck.sca.description similarity index 100% rename from recipes-sca/cppcheck-native/files/cppcheck.sca.description rename to recipes-sca/cppcheck/files/cppcheck.sca.description