From: Ross Burton <[email protected]> Don't always build the tests in do_compile, use do_compile_ptest so they are only built when needed.
Signed-off-by: Ross Burton <[email protected]> --- meta/recipes-support/gnutls/gnutls_3.8.0.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-support/gnutls/gnutls_3.8.0.bb b/meta/recipes-support/gnutls/gnutls_3.8.0.bb index 0758eb15a93..eef004efa5b 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" -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#181254): https://lists.openembedded.org/g/openembedded-core/message/181254 Mute This Topic: https://lists.openembedded.org/mt/98903193/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
