summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnutls
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-05-15 14:29:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-22 10:53:48 +0100
commit04dc2e53112bb31437f4688d7fc9df9ad2497c76 (patch)
tree45e443b958a7dfa837087992f8fe70f0cbf47f50 /meta/recipes-support/gnutls
parentd3455c6ff2467db0671ff37c38520017a0be32db (diff)
downloadpoky-04dc2e53112bb31437f4688d7fc9df9ad2497c76.tar.gz
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 <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnutls')
-rw-r--r--meta/recipes-support/gnutls/gnutls_3.8.0.bb8
1 files 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 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() {
66 done 66 done
67} 67}
68 68
69do_compile_ptest() {
70 oe_runmake -C tests buildtest-TESTS
71}
72
69do_install:append:class-target() { 73do_install:append:class-target() {
70 if ${@bb.utils.contains('PACKAGECONFIG', 'fips', 'true', 'false', d)}; then 74 if ${@bb.utils.contains('PACKAGECONFIG', 'fips', 'true', 'false', d)}; then
71 install -d ${D}${bindir}/bin 75 install -d ${D}${bindir}/bin
@@ -73,10 +77,6 @@ do_install:append:class-target() {
73 fi 77 fi
74} 78}
75 79
76do_compile:append() {
77 oe_runmake ${PARALLEL_MAKE} -C tests buildtest-TESTS
78}
79
80PACKAGES =+ "${PN}-dane ${PN}-openssl ${PN}-xx ${PN}-fips" 80PACKAGES =+ "${PN}-dane ${PN}-openssl ${PN}-xx ${PN}-fips"
81 81
82FILES:${PN}-dev += "${bindir}/gnutls-cli-debug" 82FILES:${PN}-dev += "${bindir}/gnutls-cli-debug"