From: Alexander Kanavin Date: Thu, 10 Oct 2019 11:18:43 +0000 (+0200) Subject: libcheck: split /usr/bin/checkmk into its own package X-Git-Tag: yocto-4.0~8614 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61adf39b552e9a94226c998c81e6a411ccaf9476;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libcheck: split /usr/bin/checkmk into its own package This allows not pulling in gawk, which is gplv3 licensed when only the libcheck library itself is needed. checkmk is a development tool that writes out a C boilerplate for tests. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/libcheck/libcheck_0.12.0.bb b/meta/recipes-support/libcheck/libcheck_0.12.0.bb index 94b0dc1bbd1..25ac2c4b260 100644 --- a/meta/recipes-support/libcheck/libcheck_0.12.0.bb +++ b/meta/recipes-support/libcheck/libcheck_0.12.0.bb @@ -18,7 +18,12 @@ inherit autotools pkgconfig texinfo CACHED_CONFIGUREVARS += "ac_cv_path_AWK_PATH=${bindir}/gawk" RREPLACES_${PN} = "check (<= 0.9.5)" -RDEPENDS_${PN} += "gawk" -RDEPENDS_${PN}_class-native = "" BBCLASSEXTEND = "native nativesdk" + +PACKAGES =+ "checkmk" + +FILES_checkmk = "${bindir}/checkmk" + +RDEPENDS_checkmk = "gawk" +