Files
oemcrypto/oemcrypto/opk/ports/optee/ta/oemcrypto_ta/Makefile
Fred Gylys-Colwell 5e1f940c81 Version 17 plus test updates and OPK v17 and Makefiles
Add makefiles to external repo, and update the gitignore so
that they are included.
2022-04-17 11:24:52 -07:00

32 lines
1.2 KiB
Makefile

#
# Copyright 2021 Google LLC. All Rights Reserved. This file and proprietary
# source code may only be used and distributed under the Widevine
# License Agreement.
#
CFG_TEE_TA_LOG_LEVEL := 4
# The UUID for the Trusted Application
BINARY=a92d116c-ce27-4917-b30c-4a416e2d9351
# OP-TEE-specifc defines for the target build
# Must have the following defined for OP-TEE's build system. These are defined
# by the top level makefile, but can be overridden locally if desired.
# - CROSS_COMPILE: prefix of compiler, eg arm-linux-gnueabihf-
# - PLATFORM: OP-TEE platform enumeration, eg vexpress-qemu_virt
# - TEEC_EXPORT: path to libteec.so in OP-TEE client build output
# - TA_DEV_KIT_DIR: path to OP-TEE TA dev kit makefiles
# - O: optional output directory specification
.EXPORT_ALL_VARIABLES:
TEEC_EXPORT ?= $(OPTEE_DIR)/out-br/build/optee_client_ext-1.0/libteec
PATH := $(PATH):$(OPTEE_DIR)/toolchains/aarch32/bin/:$(OPTEE_DIR)/toolchains/aarch64/bin/
O := ./out
CFG_TEE_TA_MALLOC_DEBUG:=y
include $(TA_DEV_KIT_DIR)/mk/ta_dev_kit.mk
ifeq ($(wildcard $(TA_DEV_KIT_DIR)/mk/ta_dev_kit.mk), )
clean:
@echo 'Note: $$(TA_DEV_KIT_DIR)/mk/ta_dev_kit.mk not found, cannot clean TA'
@echo 'Note: TA_DEV_KIT_DIR=$(TA_DEV_KIT_DIR)'
endif