mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: robin <robin@protonic.nl>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] rules: optee-client: Allow enabling/disabling the rpmb emulator
Date: Wed, 25 Nov 2020 15:12:50 +0100	[thread overview]
Message-ID: <5a5ef43cbb6c1bb8185bb8dc6d0ad303@protonic.nl> (raw)
In-Reply-To: <20201124134144.152860-1-robin@protonic.nl>

On 2020-11-24 14:41, Robin van der Gracht wrote:
> Its enabled by default for backwards compatibility.
> 
> Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> ---
>  rules/optee-client.in   | 5 +++++
>  rules/optee-client.make | 3 ++-
>  2 files changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/rules/optee-client.in b/rules/optee-client.in
> index be97b36..e5758ef 100644
> --- a/rules/optee-client.in
> +++ b/rules/optee-client.in
> @@ -20,4 +20,9 @@ config OPTEE_CLIENT_SYSTEMD_UNIT
>  	depends on SYSTEMD
>  	prompt "install systemd service file for tee-supplicant"
> 
> +config OPTEE_CLIENT_RPMB_EMU
> +	bool
> +	default y
> +	prompt "Emulate RPMB device for testing"
> +
>  endif
> diff --git a/rules/optee-client.make b/rules/optee-client.make
> index 7fbebf1..797037e 100644
> --- a/rules/optee-client.make
> +++ b/rules/optee-client.make
> @@ -32,7 +32,8 @@ OPTEE_CLIENT_MAKE_ENV := \
>  	$(CROSS_ENV) \
>  	LIBDIR=/usr/lib \
>  	INCLUDEDIR=/usr/include \
> -	CFG_TEE_CLIENT_LOAD_PATH=/usr/lib/
> +	CFG_TEE_CLIENT_LOAD_PATH=/usr/lib/ \
> +	RPMB_EMU=$(call ptx/ifdef, PTXCONF_OPTEE_CLIENT_RPMB_EMU, 1, 0)
> 
>  # 
> ----------------------------------------------------------------------------
>  # Target-Install

NOTE: Follow commit needs to be included in optee-client for this to 
work.

https://github.com/OP-TEE/optee_client/commit/a0d685745ae00bfc275c27a07565f490de48b5e2

This is not true for the version included in PTXdist (3.5.0). The latest 
tagged
release also doesn't have the commit yet, its only in 'master'. We might 
have to
add it separately in the patches directory.

I'll re-submit a patch soon.

Regards,
Robin

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

      reply	other threads:[~2020-11-25 14:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24 13:41 Robin van der Gracht
2020-11-25 14:12 ` robin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5a5ef43cbb6c1bb8185bb8dc6d0ad303@protonic.nl \
    --to=robin@protonic.nl \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox