forked from jenswi-linaro/lcu14_optee_hello_world
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
23 lines (18 loc) · 898 Bytes
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
# Android optee-hello-world makefile #
################################################################################
LOCAL_PATH := $(call my-dir)
CFG_TEEC_PUBLIC_INCLUDE = $(LOCAL_PATH)/../optee_client/public
################################################################################
# Build hello world #
################################################################################
include $(CLEAR_VARS)
LOCAL_CFLAGS += -DANDROID_BUILD
LOCAL_CFLAGS += -Wall
LOCAL_SRC_FILES += host/hello_world.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/ta/include \
$(CFG_TEEC_PUBLIC_INCLUDE) \
LOCAL_SHARED_LIBRARIES := libteec
LOCAL_MODULE := tee_helloworld
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)