You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by di...@apache.org on 2020/09/03 22:09:20 UTC

[incubator-teaclave-sgx-sdk] branch master updated: Update Makefile

This is an automated email from the ASF dual-hosted git repository.

dingyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-sgx-sdk.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d0e72f  Update Makefile
     new ac497c7  Merge pull request #264 from lengyijun/patch-2
1d0e72f is described below

commit 1d0e72f024b2f4549f62008e36778c3c3cd59c63
Author: lyj <sj...@gmail.com>
AuthorDate: Thu Aug 27 21:30:42 2020 +0800

    Update Makefile
---
 samplecode/hello-rust/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/samplecode/hello-rust/Makefile b/samplecode/hello-rust/Makefile
index 93faee2..52dace5 100644
--- a/samplecode/hello-rust/Makefile
+++ b/samplecode/hello-rust/Makefile
@@ -75,7 +75,7 @@ App_Include_Paths := -I ./app -I./include -I$(SGX_SDK)/include -I$(CUSTOM_EDL_PA
 App_C_Flags := $(SGX_COMMON_CFLAGS) -fPIC -Wno-attributes $(App_Include_Paths)
 
 App_Rust_Path := ./app/target/release
-App_Enclave_u_Object :=app/libEnclave_u.a
+App_Enclave_u_Object :=lib/libEnclave_u.a
 App_Name := bin/app
 
 ######## Enclave Settings ########
@@ -124,7 +124,6 @@ app/Enclave_u.o: $(Enclave_EDL_Files)
 
 $(App_Enclave_u_Object): app/Enclave_u.o
 	$(AR) rcsD $@ $^
-	cp $(App_Enclave_u_Object) ./lib
 
 $(App_Name): $(App_Enclave_u_Object) $(App_SRC_Files)
 	@cd app && SGX_SDK=$(SGX_SDK) cargo build $(App_Rust_Flags)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org