trustfence: create a global variable TRUSTFENCE_ENABLED when the class is added

meta-digi layers use many conditionals basing on TRUSTFENCE_SIGN, but this
variable may be disabled when the signing process wants to be isolated
from the image creation.
There are cases when we still need to know if TrustFence is enabled even
if the images are not going to be signed.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2023-11-30 11:23:24 +01:00
parent b9b883d47c
commit 32dc939812
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@
# * Disabled console
#
TRUSTFENCE_ENABLED = "1"
# Default secure console configuration
TRUSTFENCE_CONSOLE_DISABLE ?= "0"