mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d3455c6ff2
commit
04dc2e5311
@@ -66,6 +66,10 @@ do_configure:prepend() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_compile_ptest() {
|
||||||
|
oe_runmake -C tests buildtest-TESTS
|
||||||
|
}
|
||||||
|
|
||||||
do_install:append:class-target() {
|
do_install:append:class-target() {
|
||||||
if ${@bb.utils.contains('PACKAGECONFIG', 'fips', 'true', 'false', d)}; then
|
if ${@bb.utils.contains('PACKAGECONFIG', 'fips', 'true', 'false', d)}; then
|
||||||
install -d ${D}${bindir}/bin
|
install -d ${D}${bindir}/bin
|
||||||
@@ -73,10 +77,6 @@ do_install:append:class-target() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_compile:append() {
|
|
||||||
oe_runmake ${PARALLEL_MAKE} -C tests buildtest-TESTS
|
|
||||||
}
|
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-dane ${PN}-openssl ${PN}-xx ${PN}-fips"
|
PACKAGES =+ "${PN}-dane ${PN}-openssl ${PN}-xx ${PN}-fips"
|
||||||
|
|
||||||
FILES:${PN}-dev += "${bindir}/gnutls-cli-debug"
|
FILES:${PN}-dev += "${bindir}/gnutls-cli-debug"
|
||||||
|
|||||||
Reference in New Issue
Block a user