From 31e1428ea546118857e3c6c4a39a991a6d2c15a0 Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Wed, 14 Apr 2021 15:47:25 +0200 Subject: [PATCH] optee-os: don't override upstream TA_LOG_LEVEL setting Aside from diverging from upstream, appending such a change it at the end of oe_runmake makes it hard to override it in a bbappend. This value does not seem to be inherited in TA builds, and eg. optee-examples do use the the values set in their individual Makefiles. Setting this to 0 however seems to cause the TA traces not to be relayed to the console, so the examples end up less self-illustrative than they should. This patch restores the upstream choice, while allowing downstream layers to choose to set it to zero if they wish to do so. Signed-off-by: Yann Dirson Signed-off-by: Jon Mason --- meta-arm/recipes-security/optee/optee-os.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arm/recipes-security/optee/optee-os.inc b/meta-arm/recipes-security/optee/optee-os.inc index 08cc2f0c..ca6e01b4 100644 --- a/meta-arm/recipes-security/optee/optee-os.inc +++ b/meta-arm/recipes-security/optee/optee-os.inc @@ -38,7 +38,7 @@ LD[unexport] = "1" do_configure[noexec] = "1" do_compile() { - oe_runmake -C ${S} all CFG_TEE_TA_LOG_LEVEL=0 + oe_runmake -C ${S} all } do_compile[cleandirs] = "${B}"