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

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


The following commit(s) were added to refs/heads/master by this push:
     new d7fe219  Modify ARCH setting to be able to compile arm arch 
optee-client (#37)
d7fe219 is described below

commit d7fe219454141b633f4d2c921aa79ff8f1fe2bf4
Author: BruceFan <[email protected]>
AuthorDate: Fri Sep 3 02:21:27 2021 +0800

    Modify ARCH setting to be able to compile arm arch optee-client (#37)
---
 Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index f93e717..0078da1 100644
--- a/Makefile
+++ b/Makefile
@@ -19,19 +19,21 @@ OPTEE_PATH        ?= $(OPTEE_DIR)
 OPTEE_BUILD_PATH  ?= $(OPTEE_PATH)/build
 OPTEE_OS_PATH     ?= $(OPTEE_PATH)/optee_os
 OPTEE_CLIENT_PATH ?= $(OPTEE_PATH)/optee_client
-VENDOR            ?= qemu_v8.mk
 
 CCACHE ?= $(shell which ccache)
-AARCH_CROSS_COMPILE ?= $(OPTEE_PATH)/toolchains/aarch64/bin/aarch64-linux-gnu-
 
 EXAMPLES = $(wildcard examples/*)
 EXAMPLES_INSTALL = $(EXAMPLES:%=%-install)
 EXAMPLES_CLEAN  = $(EXAMPLES:%=%-clean)
 
 ifneq ($(ARCH), arm)
+       VENDOR := qemu_v8.mk
+       AARCH_CROSS_COMPILE := 
$(OPTEE_PATH)/toolchains/aarch64/bin/aarch64-linux-gnu-
        HOST_TARGET := aarch64-unknown-linux-gnu
        TA_TARGET := aarch64-unknown-optee-trustzone
 else
+       VENDOR := qemu.mk
+       ARCH_CROSS_COMPILE := 
$(OPTEE_PATH)/toolchains/aarch32/bin/arm-linux-gnueabihf-
        HOST_TARGET := arm-unknown-linux-gnueabihf
        TA_TARGET := arm-unknown-optee-trustzone
 endif

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

Reply via email to