SGX Makefile学习笔记

源代码地址:https://github.com/intel/linux-sgx/blob/master/SampleCode/LocalAttestation/Makefile

SGX_SDK 为sgx sdk的路径

SGX_MODE 为执行模式:分为两种HW(硬件来执行)和SIM(模拟器来执行,用于没有第六代Intel CPU的机器)。

SGX_ARCH 表明操作系统的位数对应的指令集:32位对应x86,64位对应x64。

"Generates the enclave metadata, which includes the enclave signature, and adds such metadata to the enclave image." 

猜你喜欢

转载自www.cnblogs.com/zhoujunjie/p/10416027.html