forked from OP-TEE/optee_client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.mk
79 lines (63 loc) · 2.92 KB
/
config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#########################################################################
# Public variables #
# Developers may override these values when calling the makefile, #
# as for example #
# CFG_TEE_CLIENT_LOG_LEVEL=1 make #
# Note: #
# Please do not use export to declare the variables, so that to avoid #
# compiling problem for android platform #
#########################################################################
# CFG_TEE_CLIENT_LOG_LEVEL
# Client (User Non Secure) log level
# Supported values: 0 (no traces) to 4 (all traces)
CFG_TEE_CLIENT_LOG_LEVEL?=1
# CFG_TEE_SUPP_LOG_LEVEL
# Supplicant log level
# Supported values: 0 (no traces) to 4 (all traces)
CFG_TEE_SUPP_LOG_LEVEL?=1
# CFG_TEE_FS_PARENT_PATH
# Path to folder that will contain TEE filesystem.
# This folder can be created with the required permission in an init
# script during boot, else it will be created by the tee-supplicant on
# first REE FS access.
CFG_TEE_FS_PARENT_PATH ?= /data/tee
# CFG_TEE_CLIENT_LOG_FILE
# The location of the client log file when logging to file is enabled.
CFG_TEE_CLIENT_LOG_FILE ?= $(CFG_TEE_FS_PARENT_PATH)/teec.log
# CFG_TEE_CLIENT_LOAD_PATH
# Colon-separated list of paths where tee-supplicant loads TAs from.
# For example: CFG_TEE_CLIENT_LOAD_PATH ?= /lib:/vendor/lib
# Note that the TA files are typically in a sub-directory (see the
# --ta-dir option).
CFG_TEE_CLIENT_LOAD_PATH ?= /lib
# CFG_TEE_SUPP_PLUGINS
# Enable (y) or disable (n) TEE supplicant plugin support
CFG_TEE_SUPP_PLUGINS ?= y
# CFG_TEE_PLUGIN_LOAD_PATH
# The location of the user plugins
CFG_TEE_PLUGIN_LOAD_PATH ?= /usr/lib/tee-supplicant/plugins/
# CFG_TA_TEST_PATH
# Enable the tee test path. When enabled, the supplicant will try
# loading from a debug path before the regular path. This allows test
# such as 1008.5 that test loading of corrupt TAs.
CFG_TA_TEST_PATH ?= n
# CFG_GP_SOCKETS
# Enable Global Platform Sockets support
CFG_GP_SOCKETS ?= y
# CFG_TA_GPROF_SUPPORT
# Enable dumping gprof data, not used unless secure world decides
# to dump something
CFG_TA_GPROF_SUPPORT ?= y
# CFG_FTRACE_SUPPORT
# Enable dumping ftrace data, not used unless secure world decides
# to dump something
CFG_FTRACE_SUPPORT ?= y
# Default output directory.
# May be absolute, or relative to the optee_client source directory.
O ?= out
# To be used instead of $(O) in sub-directories
OO := $(if $(filter /%,$(O)),$(O),$(CURDIR)/../$(O))
#########################################################################
# Private Values #
#########################################################################
# Check that settings are coherent.