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 1khYZq-0002wX-Ki for ptxdist@pengutronix.de; Tue, 24 Nov 2020 14:41:51 +0100 From: Robin van der Gracht Date: Tue, 24 Nov 2020 13:41:44 +0000 Message-Id: <20201124134144.152860-1-robin@protonic.nl> MIME-Version: 1.0 Subject: [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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Robin van der Gracht 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 -- 2.25.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de