forked from OP-TEE/optee_client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.mk
53 lines (43 loc) · 1.97 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
#########################################################################
# Public variables #
# Developers may override these values when calling the makefile, #
# as for example #
# CFG_TEE_CLIENT_LOG_LEVEL=1 make #
# or by declaring the variable in their environement, as for example #
# export CFG_TEE_CLIENT_LOG_LEVEL=1 #
# make #
#########################################################################
# 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
export CFG_TEE_CLIENT_LOG_LEVEL
# CFG_TEE_SUPP_LOG_LEVEL
# Supplicant log level
# Supported values: 0 (no traces) to 4 (all traces)
CFG_TEE_SUPP_LOG_LEVEL?=1
export CFG_TEE_SUPP_LOG_LEVEL
# CFG_TEE_CLIENT_LOG_FILE
# The location of the client log file when logging to file is enabled.
CFG_TEE_CLIENT_LOG_FILE ?= \"/data/teec.log\"
# CFG_TEE_SUPP_LOG_FILE
# The location of the supplicant log file when logging to file is enabled.
CFG_TEE_SUPP_LOG_FILE ?= \"/data/teesupp.log\"
# CFG_TEE_CLIENT_LOAD_PATH
# The location of the client library file.
CFG_TEE_CLIENT_LOAD_PATH ?= /system/lib
# Default out dir.
# Must be a relative path with respect to the op-tee-client root directory
O ?= out
export O
#########################################################################
# Private Values #
#########################################################################
# Check that settings are coherent.
ifdef ARM_TOOLCHAIN_DIR
ifeq ($(wildcard ${ARM_TOOLCHAIN_DIR}/bin/${ARM_GCC_PREFIX}-gcc),)
$(error "ARM_TOOLCHAIN_DIR wrongly setup. Is ${ARM_TOOLCHAIN_DIR}")
endif
export ARM_TOOLCHAIN_DIR
export ARM_GCC_PREFIX
endif