1# 1. Configration for optee OS
2OPTEE_PLATFORM ?= poplar
3OPTEE_PLATFORM_FLAVOR ?= poplar
4OPTEE_CFG_ARM64_CORE ?= n
5OPTEE_TA_TARGETS ?= ta_arm32
6OPTEE_OS_DIR ?= optee/optee_os
7OPTEE_EXTRA_FLAGS ?= CFG_TEE_CORE_LOG_LEVEL=3 CFG_TEE_TA_LOG_LEVEL=3 DEBUG=1
8#CROSS_COMPILE64 ?= $(ANDROID_BUILD_TOP)/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-
9# BUILD_OPTEE_MK will be used by client app ,e.g xtest and optee-widevine-ref
10BUILD_OPTEE_MK := $(OPTEE_OS_DIR)/mk/aosp_optee.mk
11
12
13# 2. packages
14
15# OP TEE client library and service
16PRODUCT_PACKAGES += libteec \
17                    tee-supplicant \
18
19# optee_test and TA
20PRODUCT_PACKAGES += xtest
21# os_test
22PRODUCT_PACKAGES += 5b9e0e40-2636-11e1-ad9e-0002a5d5c51b.ta
23# concurrent_large
24PRODUCT_PACKAGES += 5ce0c432-0ab0-40e5-a056-782ca0e6aba2.ta
25# sha_perf
26PRODUCT_PACKAGES += 614789f2-39c0-4ebf-b235-92b32ac107ed.ta
27# storage2
28PRODUCT_PACKAGES += 731e279e-aafb-4575-a771-38caa6f0cca6.ta
29# storage
30PRODUCT_PACKAGES += b689f2a7-8adf-477a-9f99-32e90c0ad0a2.ta
31# create_fail_test
32PRODUCT_PACKAGES += c3f6e2c0-3548-11e1-b86c-0800200c9a66.ta
33# crypt
34PRODUCT_PACKAGES += cb3e5ba0-adf1-11e0-998b-0002a5d5c51b.ta
35# rpc_test
36PRODUCT_PACKAGES += d17f73a0-36ef-11e1-984a-0002a5d5c51b.ta
37# concurrent
38PRODUCT_PACKAGES += e13010e0-2ae1-11e5-896a-0002a5d5c51b.ta
39# aes_perf
40PRODUCT_PACKAGES += e626662e-c0e2-485c-b8c8-09fbce6edf3d.ta
41# sims
42PRODUCT_PACKAGES += e6a33ed4-562b-463a-bb7e-ff5e15a493c8.ta
43# storage_benchmark
44PRODUCT_PACKAGES += f157cda0-550c-11e5-a6fa-0002a5d5c51b.ta
45# socket
46PRODUCT_PACKAGES += 873bcd08-c2c3-11e6-a937-d0bf9c45c61c.ta
47# sdp-basic - atm default disabled for hikey
48PRODUCT_PACKAGES += 12345678-5b69-11e4-9dbb-101f74f00099.ta
49
50# optee examples
51PRODUCT_PACKAGES += optee_example_helloworld
52PRODUCT_PACKAGES += 8aaaf200-2450-11e4-abe2-0002a5d5c51b.ta
53PRODUCT_PACKAGES += optee_example_random
54PRODUCT_PACKAGES += b6c53aba-9669-4668-a7f2-205629d00f86.ta
55PRODUCT_PACKAGES += optee_example_aes
56PRODUCT_PACKAGES += 5dbac793-f574-4871-8ad3-04331ec17f24.ta
57PRODUCT_PACKAGES += optee_example_hotp
58PRODUCT_PACKAGES += 484d4143-2d53-4841-3120-4a6f636b6542.ta
59