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