From: André Draszik <adras...@tycoint.com> This allows us to completely remove the build time depenency on libcheck when not needed, reducing overall build time, and in addition tests can be converted into a PACKAGECONFIG to enable them if needed.
Signed-off-by: André Draszik <adras...@tycoint.com> --- recipes-devtools/bsdiff/bsdiff_git.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-devtools/bsdiff/bsdiff_git.bb b/recipes-devtools/bsdiff/bsdiff_git.bb index 8eb7271..ca0c4c8 100644 --- a/recipes-devtools/bsdiff/bsdiff_git.bb +++ b/recipes-devtools/bsdiff/bsdiff_git.bb @@ -6,14 +6,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0dbe7a50f028269750631fcbded3846a" SRC_URI = "git://github.com/clearlinux/bsdiff.git;protocol=https" PV = "1.0.1+git${SRCPV}" -SRCREV = "8c0a87b7c9eb5b22ed4e03a4eb42b32bd390df14" +SRCREV = "fb5ced7c2cd6aeab0231f0cc3dee6bef72ddfb1e" S = "${WORKDIR}/git" -DEPENDS = "xz bzip2 zlib libcheck" +DEPENDS = "xz bzip2 zlib" inherit pkgconfig autotools -EXTRA_OECONF = "--disable-tests" +PACKAGECONFIG ??= "" +PACKAGECONFIG[tests] = "--enable-tests, --disable-tests, libcheck" BBCLASSEXTEND = "native" -- 2.10.2 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto