mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [ptxdist] [PATCH 2/7] optee-client: switch to cmake
Date: Thu, 26 Jun 2025 17:06:52 +0200	[thread overview]
Message-ID: <20250626150657.2728049-2-m.tretter@pengutronix.de> (raw)
In-Reply-To: <20250626150657.2728049-1-m.tretter@pengutronix.de>

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 rules/optee-client.in   |  1 +
 rules/optee-client.make | 28 +++++++++++++++++++++-------
 2 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/rules/optee-client.in b/rules/optee-client.in
index d1acb6be5f8c..5d05d3bf5ebf 100644
--- a/rules/optee-client.in
+++ b/rules/optee-client.in
@@ -2,6 +2,7 @@
 
 menuconfig OPTEE_CLIENT
 	tristate
+	select HOST_CMAKE
 	select LIBUUID
 	prompt "optee-client                  "
 	help
diff --git a/rules/optee-client.make b/rules/optee-client.make
index 698b60da8546..6c6a5f5b1cb8 100644
--- a/rules/optee-client.make
+++ b/rules/optee-client.make
@@ -27,13 +27,27 @@ OPTEE_CLIENT_LICENSE	:= BSD-2-Clause
 # Prepare
 # ----------------------------------------------------------------------------
 
-OPTEE_CLIENT_CONF_TOOL := NO
-OPTEE_CLIENT_MAKE_ENV := \
-	$(CROSS_ENV) \
-	LIBDIR=/usr/lib \
-	INCLUDEDIR=/usr/include \
-	CFG_TEE_CLIENT_LOAD_PATH=/usr/lib/ \
-	CFG_TEE_SUPP_PLUGINS=n
+OPTEE_CLIENT_CONF_TOOL	:= cmake
+OPTEE_CLIENT_CONF_OPT	:= \
+	$(CROSS_CMAKE_USR) \
+	-DBUILD_SHARED_LIBS=ON \
+	-DCFG_FTRACE_SUPPORT=ON \
+	-DCFG_GP_SOCKETS=1 \
+	-DCFG_TA_GPROF_SUPPORT=ON \
+	-DCFG_TEEPRIV_GROUP=teepriv \
+	-DCFG_TEE_CLIENT_LOAD_PATH=/usr/lib/ \
+	-DCFG_TEE_CLIENT_LOG_FILE=var/lib/tee/teec.log \
+	-DCFG_TEE_CLIENT_LOG_LEVEL=1 \
+	-DCFG_TEE_FS_PARENT_PATH=var/lib/tee \
+	-DCFG_TEE_GROUP=tee \
+	-DCFG_TEE_PLUGIN_LOAD_PATH=/usr/lib/tee-supplicant/plugins/ \
+	-DCFG_TEE_SUPPL_GROUP=teesuppl \
+	-DCFG_TEE_SUPPL_USER=teesuppl \
+	-DCFG_TEE_SUPP_LOG_LEVEL=1 \
+	-DCFG_TEE_SUPP_PLUGINS=OFF \
+	-DCFG_WERROR=ON \
+	-DRPMB_EMU=ON \
+	-DWITH_TEEACL=ON
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.39.5




  reply	other threads:[~2025-06-26 15:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-26 15:06 [ptxdist] [PATCH 1/7] optee: version bump 4.5.0 -> 4.6.0 Michael Tretter
2025-06-26 15:06 ` Michael Tretter [this message]
2025-06-26 15:06 ` [ptxdist] [PATCH 3/7] optee-client: set OPTEE_CLIENT_LICENSE_FILES Michael Tretter
2025-06-26 15:06 ` [ptxdist] [PATCH 4/7] optee-client: add option for supplicant plugin support Michael Tretter
2025-06-26 15:06 ` [ptxdist] [PATCH 5/7] optee-test: set libdir and bindir Michael Tretter
2025-06-26 15:06 ` [ptxdist] [PATCH 6/7] optee-test: install tee-supplicant plugins Michael Tretter
2025-06-26 15:06 ` [ptxdist] [PATCH 7/7] optee-test: set OPTEE_TEST_LICENSE_FILES Michael Tretter

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=20250626150657.2728049-2-m.tretter@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --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