From 04dc2e53112bb31437f4688d7fc9df9ad2497c76 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 15 May 2023 14:29:51 +0100 Subject: gnutls: clean up ptest compilation Don't always build the tests in do_compile, use do_compile_ptest so they are only built when needed. (From OE-Core rev: 5f4b10a3361e273d22bc880b4127eb53291be47d) Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-support/gnutls/gnutls_3.8.0.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta/recipes-support/gnutls') diff --git a/meta/recipes-support/gnutls/gnutls_3.8.0.bb b/meta/recipes-support/gnutls/gnutls_3.8.0.bb index 0758eb15a9..eef004efa5 100644 --- a/meta/recipes-support/gnutls/gnutls_3.8.0.bb +++ b/meta/recipes-support/gnutls/gnutls_3.8.0.bb @@ -66,6 +66,10 @@ do_configure:prepend() { done } +do_compile_ptest() { + oe_runmake -C tests buildtest-TESTS +} + do_install:append:class-target() { if ${@bb.utils.contains('PACKAGECONFIG', 'fips', 'true', 'false', d)}; then install -d ${D}${bindir}/bin @@ -73,10 +77,6 @@ do_install:append:class-target() { fi } -do_compile:append() { - oe_runmake ${PARALLEL_MAKE} -C tests buildtest-TESTS -} - PACKAGES =+ "${PN}-dane ${PN}-openssl ${PN}-xx ${PN}-fips" FILES:${PN}-dev += "${bindir}/gnutls-cli-debug" -- cgit v1.2.3-54-g00ecf