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.

(From OE-Core rev: 61adf39b552e9a94226c998c81e6a411ccaf9476)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2019-10-10 13:18:43 +02:00
committed by Richard Purdie
parent 7bd7af037f
commit a3df097fa4

View File

@@ -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"