Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ LOCAL_C_INCLUDES += $(LOCAL_PATH)/host/xtest \
$(LOCAL_PATH)/ta/aes_perf/include \
$(LOCAL_PATH)/ta/socket/include \
$(LOCAL_PATH)/ta/sdp_basic/include \
$(LOCAL_PATH)/ta/tpm_log_test/include
$(LOCAL_PATH)/ta/tpm_log_test/include \
$(LOCAL_PATH)/ta/ocall/include

# Include configuration file generated by OP-TEE OS (CFG_* macros)
LOCAL_CFLAGS += -I $(TA_DEV_KIT_DIR)/host_include -include conf.h
Expand Down
4 changes: 4 additions & 0 deletions host/xtest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ if (CFG_PKCS11_TA)
list (APPEND SRC pkcs11_1000.c)
endif()

if (CFG_OCALL)
list (APPEND SRC regression_1100.c)
endif()

################################################################################
# Built binary
################################################################################
Expand Down
5 changes: 5 additions & 0 deletions host/xtest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ CFLAGS += -I$(OPTEE_PKCS11_TA_HEADERS)
LDFLAGS += -L$(OPTEE_CLIENT_EXPORT)/lib -lckteec
endif

ifeq ($(CFG_OCALL),y)
srcs += regression_1100.c
endif

objs := $(patsubst %.c,$(out-dir)/xtest/%.o, $(srcs))

CFLAGS += -I./
Expand Down Expand Up @@ -128,6 +132,7 @@ CFLAGS += -I../../ta/socket/include
CFLAGS += -I../../ta/sdp_basic/include
CFLAGS += -I../../ta/tpm_log_test/include
CFLAGS += -I../../ta/supp_plugin/include
CFLAGS += -I../../ta/ocall/include

TA_DIR ?= /lib/optee_armtz
CFLAGS += -DTA_DIR=\"$(TA_DIR)\"
Expand Down
Loading