From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from protonic.xs4all.nl ([83.163.252.89]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1khvXO-0000Bs-Un for ptxdist@pengutronix.de; Wed, 25 Nov 2020 15:12:51 +0100 MIME-Version: 1.0 Date: Wed, 25 Nov 2020 15:12:50 +0100 From: robin In-Reply-To: <20201124134144.152860-1-robin@protonic.nl> References: <20201124134144.152860-1-robin@protonic.nl> Message-ID: <5a5ef43cbb6c1bb8185bb8dc6d0ad303@protonic.nl> Subject: Re: [ptxdist] [PATCH] rules: optee-client: Allow enabling/disabling the rpmb emulator List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de, robin@protonic.nl Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de 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 > --- > 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