1# WARNS from undefined, 1, 2 and 3. 3 means we have the most warning messages 2WARNS ?= 3 3 4# Define NOWERROR=1 so that warnings are not treated as errors 5# NOWERROR=1 6 7# Define DEBUG=1 to compile with -g option 8# DEBUG=1 9 10# CFG_TEE_FW_DEBUG 11# If 1, debug mode of the tee firmware (CPU restart, Core Status) 12CFG_TEE_FW_DEBUG?=0 13 14# CFG_TEE_CORE_LOG_LEVEL 15# Max level of the tee core traces. 0 means disable, 4 is max. 16# Supported values: 0 (no traces) to 4 (all traces) 17# If CFG_TEE_DRV_DEBUGFS is set, the level of traces to print can be 18# dynamically changes via debugfs in the range 1 => CFG_TEE_CORE_LOG_LEVEL 19CFG_TEE_CORE_LOG_LEVEL?=1 20 21# CFG_TEE_TA_LOG_LEVEL 22# TA and TEECore log level 23# Supported values: 0 (no traces) to 4 (all traces) 24# If CFG_TEE_DRV_DEBUGFS is set, the level of traces to print can be 25# dynamically changes via debugfs in the range 1 => CFG_TEE_TA_LOG_LEVEL 26CFG_TEE_TA_LOG_LEVEL?=1 27 28# CFG_TEE_CORE_TA_TRACE 29# TA enablement 30# When defined to "y", TA traces are output according to 31# CFG_TEE_TA_LOG_LEVEL. Otherwise, they are not output at all 32CFG_TEE_CORE_TA_TRACE?=y 33 34# If 1, enable debug features of the user mem module. This module track memory 35# allocation of the user ta. 36# Debug features include check of buffer overflow, statistics, 37# marck/check heap feature 38# Enabling this could decrease efficiency 39CFG_TEE_CORE_USER_MEM_DEBUG?=1 40 41 42# PRNG Configuration: 43# 44# If CFG_WITH_SOFTWARE_PRNG is enabled, crypto provider provided 45# software PRNG implementation is used. 46# 47# Otherwise, you need to implement hw_get_random_byte() for your platform 48# 49CFG_WITH_SOFTWARE_PRNG ?= y 50