On next update, the imx platform will enable CFG_PKCS11_TA by default
and optee-test will fail to build, because we don't install the
respective PKCS#11 module.

PKCS#11 is important enough of a use case that it makes sense to just
ship it always by default, so let's do just that.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
v1 -> v2:
  - new patch, suggested by mol
---
 rules/optee-client.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/optee-client.make b/rules/optee-client.make
index 726a3edabafb..2703e0a8f602 100644
--- a/rules/optee-client.make
+++ b/rules/optee-client.make
@@ -49,6 +49,7 @@ $(STATEDIR)/optee-client.targetinstall:
        @$(call install_fixup, optee-client,DESCRIPTION,missing)
 
        @$(call install_lib, optee-client, 0, 0, 0644, libteec)
+       @$(call install_lib, optee-client, 0, 0, 0644, libckteec)
        @$(call install_copy, optee-client, 0, 0, 0755, -, 
/usr/sbin/tee-supplicant)
 ifdef PTXCONF_OPTEE_CLIENT_SYSTEMD_UNIT
        @$(call install_alternative, optee-client, 0, 0, 0644, \
-- 
2.39.2


Reply via email to