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

zfc pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git


The following commit(s) were added to refs/heads/main by this push:
     new 8d29a45  example: fix emulate target in std env
8d29a45 is described below

commit 8d29a450e0e4c8d867c9ed661ed4535bc1034e98
Author: Zhaofeng Chen <[email protected]>
AuthorDate: Thu Aug 14 22:39:54 2025 +0000

    example: fix emulate target in std env
---
 examples/hello_world-rs/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/examples/hello_world-rs/Makefile b/examples/hello_world-rs/Makefile
index 6f10fa5..c1f155f 100644
--- a/examples/hello_world-rs/Makefile
+++ b/examples/hello_world-rs/Makefile
@@ -34,9 +34,11 @@ ta:
        $(q)make -C ta TARGET=$(TARGET_TA) \
                CROSS_COMPILE=$(CROSS_COMPILE_TA)
 
-emulate: all
-       $(q)make -C host emulate 
-       $(q)make -C ta emulate 
+emulate:
+       $(q)make -C host emulate TARGET=$(TARGET_HOST) \
+               CROSS_COMPILE=$(CROSS_COMPILE_HOST)
+       $(q)make -C ta emulate TARGET=$(TARGET_TA) \
+               CROSS_COMPILE=$(CROSS_COMPILE_TA)
 
 clean:
        $(q)make -C host clean


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to