blob: 8013c5a2d4191ec220732afc3873d2c01c162cee [file] [log] [blame]
Pascal Brandb0104772014-06-12 15:56:20 +02001# 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
Pascal Brandb0104772014-06-12 15:56:20 +020010# 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
Pascal Brande0042c82014-11-17 13:42:52 +010015# Max level of the tee core traces. 0 means disable, 4 is max.
16# Supported values: 0 (no traces) to 4 (all traces)
Pascal Brandb0104772014-06-12 15:56:20 +020017# 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
Pascal Brande0042c82014-11-17 13:42:52 +010019CFG_TEE_CORE_LOG_LEVEL?=1
Pascal Brandb0104772014-06-12 15:56:20 +020020
21# CFG_TEE_TA_LOG_LEVEL
22# TA and TEECore log level
Pascal Brande0042c82014-11-17 13:42:52 +010023# Supported values: 0 (no traces) to 4 (all traces)
Pascal Brandb0104772014-06-12 15:56:20 +020024# 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
Pascal Brande0042c82014-11-17 13:42:52 +010026CFG_TEE_TA_LOG_LEVEL?=1
Pascal Brandb0104772014-06-12 15:56:20 +020027
28
29# If 1, enable debug features of the user mem module. This module track memory
30# allocation of the user ta.
31# Debug features include check of buffer overflow, statistics,
32# marck/check heap feature
33# Enabling this could decrease efficiency
34CFG_TEE_CORE_USER_MEM_DEBUG?=1