blob: 83fbf8d4edc6296e98525e7b85226505d303fd72 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001
2ifdef MACH_TYPE
3C_OPTION += -DMACH_TYPE_$(shell echo $(MACH_TYPE) | tr '[a-z]' '[A-Z]')
4endif
5
6ifdef BASE_ADDR
7C_OPTION += -DBASE_ADDR=${BASE_ADDR}
8endif
9
10ifdef CFG_ATF_LOG_SUPPORT
11C_OPTION += -DCFG_ATF_LOG_SUPPORT=${CFG_ATF_LOG_SUPPORT}
12export CFG_ATF_LOG_SUPPORT
13endif
14
15ifdef CFG_ATF_LOG_BUFFER_ADDR
16C_OPTION += -DCFG_ATF_LOG_BUFFER_ADDR=${CFG_ATF_LOG_BUFFER_ADDR}
17export CFG_ATF_LOG_BUFFER_ADDR
18endif
19
20ifdef TRUSTEDOS_ENTRYPOINT
21C_OPTION += -DTRUSTEDOS_ENTRYPOINT=${TRUSTEDOS_ENTRYPOINT}
22export TRUSTEDOS_ENTRYPOINT
23endif
24
25ifdef CFG_TEE_SUPPORT
26C_OPTION += -DCFG_TEE_SUPPORT=${CFG_TEE_SUPPORT}
27export CFG_TEE_SUPPORT
28endif
29
30ifdef CFG_TRUSTONIC_TEE_SUPPORT
31C_OPTION += -DCFG_TRUSTONIC_TEE_SUPPORT=${CFG_TRUSTONIC_TEE_SUPPORT}
32export CFG_TRUSTONIC_TEE_SUPPORT
33endif
34
35ifdef CFG_TEE_SECURE_MEM_PROTECTED
36C_OPTION += -DCFG_TEE_SECURE_MEM_PROTECTED=${CFG_TEE_SECURE_MEM_PROTECTED}
37export CFG_TEE_SECURE_MEM_PROTECTED
38endif
39
40ifdef CFG_TEE_SECMEM_SIZE
41C_OPTION += -DCFG_TEE_SECMEM_SIZE=${CFG_TEE_SECMEM_SIZE}
42export CFG_TEE_SECMEM_SIZE
43endif