From: Robin van der Gracht <robin@protonic.nl>
To: ptxdist@pengutronix.de
Cc: Robin van der Gracht <robin@protonic.nl>
Subject: [ptxdist] [PATCH] rules: optee-client: Allow enabling/disabling the rpmb emulator
Date: Tue, 24 Nov 2020 13:41:44 +0000 [thread overview]
Message-ID: <20201124134144.152860-1-robin@protonic.nl> (raw)
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
--
2.25.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2020-11-24 13:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-24 13:41 Robin van der Gracht [this message]
2020-11-25 14:12 ` robin
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=20201124134144.152860-1-robin@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