From 840176462b2ae175bc06322f32c21d5b117b673e Mon Sep 17 00:00:00 2001 From: Peter Griffin Date: Tue, 1 Dec 2020 16:53:45 +0100 Subject: optee-test_3.7.0.imx: fix optee-test build Currently nothing is built for optee-test which means do_install() fails copying xtest binary. Align the do_compile() with upstream meta-arm optee-test recipe. With this patch the build then completes OK. Fixes: a66dc98 Signed-off-by: Peter Griffin --- recipes-security/optee-imx/optee-test_3.7.0.imx.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'recipes-security') diff --git a/recipes-security/optee-imx/optee-test_3.7.0.imx.bb b/recipes-security/optee-imx/optee-test_3.7.0.imx.bb index 04240ff0..e0dfdbe2 100644 --- a/recipes-security/optee-imx/optee-test_3.7.0.imx.bb +++ b/recipes-security/optee-imx/optee-test_3.7.0.imx.bb @@ -39,6 +39,13 @@ EXTRA_OEMAKE = " \ OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}/ \ -C ${S} O=${B} \ " +do_compile() { + cd ${S} + # Top level makefile doesn't seem to handle parallel make gracefully + oe_runmake xtest + oe_runmake ta +} +do_compile[cleandirs] = "${B}" do_install () { install -d ${D}/usr/bin -- cgit v1.2.3-54-g00ecf