cmake: meu: add option for openssl path

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
This commit is contained in:
Janusz Jankowski 2019-02-12 14:23:32 +01:00 committed by Liam Girdwood
parent f5a242badc
commit 779237837c
1 changed files with 5 additions and 1 deletions

View File

@ -308,11 +308,15 @@ if(MEU_PATH)
USES_TERMINAL USES_TERMINAL
) )
if(NOT DEFINED MEU_OPENSSL)
set(MEU_OPENSSL "/usr/bin/openssl")
endif()
add_custom_target( add_custom_target(
run_meu run_meu
COMMAND ${MEU_PATH}/meu -w ./ -s sof-${fw_name} COMMAND ${MEU_PATH}/meu -w ./ -s sof-${fw_name}
-key ${MEU_PRIVATE_KEY} -key ${MEU_PRIVATE_KEY}
-stp /usr/bin/openssl -stp ${MEU_OPENSSL}
-f ${MEU_PATH}/generic_meu_conf.xml -f ${MEU_PATH}/generic_meu_conf.xml
-mnver 0.0.0.0 -o sof-${fw_name}.ri -mnver 0.0.0.0 -o sof-${fw_name}.ri
DEPENDS run_rimage DEPENDS run_rimage