blob: 3ba5fe62960971258d054f43516fcf1d8312b374 [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
44
45ifdef CFG_TZ_SRAMROM_SUPPORT
46C_OPTION += -DCFG_TZ_SRAMROM_SUPPORT=${CFG_TZ_SRAMROM_SUPPORT}
47export CFG_TZ_SRAMROM_SUPPORT
48endif
49
50ifdef CFG_DEVAPC_SET_PROTECT
51C_OPTION += -DCFG_DEVAPC_SET_PROTECT=${CFG_DEVAPC_SET_PROTECT}
52export CFG_DEVAPC_SET_PROTECT
53endif
54
55ifdef CFG_TZ_UART_APDMA_SUPPORT
56C_OPTION += -DCFG_TZ_UART_APDMA_SUPPORT=${CFG_TZ_UART_APDMA_SUPPORT}
57export CFG_TZ_UART_APDMA_SUPPORT
58endif