From 779237837ca9d507c7775bbc0edd5c72b6863872 Mon Sep 17 00:00:00 2001 From: Janusz Jankowski Date: Tue, 12 Feb 2019 14:23:32 +0100 Subject: [PATCH] cmake: meu: add option for openssl path Signed-off-by: Janusz Jankowski --- src/arch/xtensa/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/arch/xtensa/CMakeLists.txt b/src/arch/xtensa/CMakeLists.txt index 80f39d793..7704d3fdd 100644 --- a/src/arch/xtensa/CMakeLists.txt +++ b/src/arch/xtensa/CMakeLists.txt @@ -308,11 +308,15 @@ if(MEU_PATH) USES_TERMINAL ) + if(NOT DEFINED MEU_OPENSSL) + set(MEU_OPENSSL "/usr/bin/openssl") + endif() + add_custom_target( run_meu COMMAND ${MEU_PATH}/meu -w ./ -s sof-${fw_name} -key ${MEU_PRIVATE_KEY} - -stp /usr/bin/openssl + -stp ${MEU_OPENSSL} -f ${MEU_PATH}/generic_meu_conf.xml -mnver 0.0.0.0 -o sof-${fw_name}.ri DEPENDS run_rimage