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 <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
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
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"