blob: e033ece0804841fdf2ba30557bd3f2a0cecadc41 [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_TRUSTKERNEL_TEE_SUPPORT
36C_OPTION += -DCFG_TRUSTKERNEL_TEE_SUPPORT=${CFG_TRUSTKERNEL_TEE_SUPPORT}
37export CFG_TRUSTKERNEL_TEE_SUPPORT
38endif
39
40ifdef CFG_OPTEE_TEE_SUPPORT
41C_OPTION += -DCFG_OPTEE_TEE_SUPPORT=${CFG_OPTEE_TEE_SUPPORT}
42export CFG_OPTEE_TEE_SUPPORT
43endif
44
45ifdef CFG_TEE_SECURE_MEM_PROTECTED
46C_OPTION += -DCFG_TEE_SECURE_MEM_PROTECTED=${CFG_TEE_SECURE_MEM_PROTECTED}
47export CFG_TEE_SECURE_MEM_PROTECTED
48endif
49
50ifdef CFG_TEE_SECMEM_SIZE
51C_OPTION += -DCFG_TEE_SECMEM_SIZE=${CFG_TEE_SECMEM_SIZE}
52export CFG_TEE_SECMEM_SIZE
53endif
54
55ifdef CFG_TZ_SRAMROM_SUPPORT
56C_OPTION += -DCFG_TZ_SRAMROM_SUPPORT=${CFG_TZ_SRAMROM_SUPPORT}
57export CFG_TZ_SRAMROM_SUPPORT
58endif
59
60ifdef CFG_TZ_UART_APDMA_SUPPORT
61C_OPTION += -DCFG_TZ_UART_APDMA_SUPPORT=${CFG_TZ_UART_APDMA_SUPPORT}
62export CFG_TZ_UART_APDMA_SUPPORT
63endif
64
65ifdef CFG_TINYSYS_SCP_SUPPORT
66C_OPTION += -DCFG_TINYSYS_SCP_SUPPORT=${CFG_TINYSYS_SCP_SUPPORT}
67export CFG_TINYSYS_SCP_SUPPORT
68endif