Skip to content

Commit 8d0977a

Browse files
author
icarolima
committed
Refact TRUSTED_DIR -> SGXEnclave/makefiles/c++/sgx_u.without_app.mk
Signed-off-by: Ícaro Dantas de Araújo Lima <icaro.lima@ccc.ufcg.edu.br>
1 parent 99e961d commit 8d0977a

File tree

1 file changed

+3
-2
lines changed
  • Linux_SGXEclipsePlugin/build_directory/plugins/com.intel.sgx/templates/sgx/SGXEnclave/makefiles/c++

1 file changed

+3
-2
lines changed

Linux_SGXEclipsePlugin/build_directory/plugins/com.intel.sgx/templates/sgx/SGXEnclave/makefiles/c++/sgx_u.without_app.mk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
SGX_SDK ?= $(SdkPathFromPlugin)
33
SGX_MODE ?= SIM
44
SGX_ARCH ?= x64
5+
TRUSTED_DIR=trusted
56
UNTRUSTED_DIR=untrusted
67

78
ifeq ($(shell getconf LONG_BIT), 32)
@@ -56,9 +57,9 @@ all: $(UNTRUSTED_DIR)/$(enclaveName)_u.o
5657

5758
######## App Objects ########
5859

59-
$(UNTRUSTED_DIR)/$(enclaveName)_u.c: $(SGX_EDGER8R) trusted/$(enclaveName).edl
60+
$(UNTRUSTED_DIR)/$(enclaveName)_u.c: $(SGX_EDGER8R) $(TRUSTED_DIR)/$(enclaveName).edl
6061
@mkdir -p $(UNTRUSTED_DIR)
61-
@cd $(UNTRUSTED_DIR) && $(SGX_EDGER8R) --untrusted ../trusted/$(enclaveName).edl --search-path ../trusted --search-path $(SGX_SDK)/include
62+
@cd $(UNTRUSTED_DIR) && $(SGX_EDGER8R) --untrusted ../$(TRUSTED_DIR)/$(enclaveName).edl --search-path ../$(TRUSTED_DIR) --search-path $(SGX_SDK)/include
6263
@echo "GEN => $@"
6364

6465
$(UNTRUSTED_DIR)/$(enclaveName)_u.o: $(UNTRUSTED_DIR)/$(enclaveName)_u.c

0 commit comments

Comments
 (0)