Update SGX documents (#439)

This commit mainly simplifies the description about building a
debug and hw mode enclave.

Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>

Co-authored-by: root <root@rs1g04412.et2sqa>
This commit is contained in:
Jia Zhang
2020-11-12 20:59:03 +08:00
committed by GitHub
parent a3074df21b
commit 8f4a1963fc
2 changed files with 32 additions and 70 deletions

View File

@ -17,6 +17,8 @@ cmake ..
make
```
**Note:** By default, the generated SGX application assumes it is signed with production key and running on simulation mode. In order to build a debug enclave on hardware-based SGX platform, execute `make SGX_DEBUG=1 SGX_MODE=HW` instead.
This builds two libraries required by SGX application:
- libvmlib.a for Enclave part
- libvmlib_untrusted.a for App part