Pascal Brand | b010477 | 2014-06-12 15:56:20 +0200 | [diff] [blame] | 1 | # WARNS from undefined, 1, 2 and 3. 3 means we have the most warning messages |
| 2 | WARNS ?= 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 Brand | b010477 | 2014-06-12 15:56:20 +0200 | [diff] [blame] | 10 | # CFG_TEE_FW_DEBUG |
| 11 | # If 1, debug mode of the tee firmware (CPU restart, Core Status) |
| 12 | CFG_TEE_FW_DEBUG?=0 |
| 13 | |
| 14 | # CFG_TEE_CORE_LOG_LEVEL |
| 15 | # Max level of the tee core traces. 0 means disable, 5 is max. |
| 16 | # Supported values: 0 (no traces) to 5 (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 |
| 19 | CFG_TEE_CORE_LOG_LEVEL?=2 |
| 20 | |
| 21 | # CFG_TEE_TA_LOG_LEVEL |
| 22 | # TA and TEECore log level |
| 23 | # Supported values: 0 (no traces) to 5 (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 |
| 26 | CFG_TEE_TA_LOG_LEVEL?=2 |
| 27 | |
| 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 |
| 34 | CFG_TEE_CORE_USER_MEM_DEBUG?=1 |
| 35 | |