blob: 83fbf8d4edc6296e98525e7b85226505d303fd72 [file] [log] [blame]
ifdef MACH_TYPE
C_OPTION += -DMACH_TYPE_$(shell echo $(MACH_TYPE) | tr '[a-z]' '[A-Z]')
endif
ifdef BASE_ADDR
C_OPTION += -DBASE_ADDR=${BASE_ADDR}
endif
ifdef CFG_ATF_LOG_SUPPORT
C_OPTION += -DCFG_ATF_LOG_SUPPORT=${CFG_ATF_LOG_SUPPORT}
export CFG_ATF_LOG_SUPPORT
endif
ifdef CFG_ATF_LOG_BUFFER_ADDR
C_OPTION += -DCFG_ATF_LOG_BUFFER_ADDR=${CFG_ATF_LOG_BUFFER_ADDR}
export CFG_ATF_LOG_BUFFER_ADDR
endif
ifdef TRUSTEDOS_ENTRYPOINT
C_OPTION += -DTRUSTEDOS_ENTRYPOINT=${TRUSTEDOS_ENTRYPOINT}
export TRUSTEDOS_ENTRYPOINT
endif
ifdef CFG_TEE_SUPPORT
C_OPTION += -DCFG_TEE_SUPPORT=${CFG_TEE_SUPPORT}
export CFG_TEE_SUPPORT
endif
ifdef CFG_TRUSTONIC_TEE_SUPPORT
C_OPTION += -DCFG_TRUSTONIC_TEE_SUPPORT=${CFG_TRUSTONIC_TEE_SUPPORT}
export CFG_TRUSTONIC_TEE_SUPPORT
endif
ifdef CFG_TEE_SECURE_MEM_PROTECTED
C_OPTION += -DCFG_TEE_SECURE_MEM_PROTECTED=${CFG_TEE_SECURE_MEM_PROTECTED}
export CFG_TEE_SECURE_MEM_PROTECTED
endif
ifdef CFG_TEE_SECMEM_SIZE
C_OPTION += -DCFG_TEE_SECMEM_SIZE=${CFG_TEE_SECMEM_SIZE}
export CFG_TEE_SECMEM_SIZE
endif