1# 2# Copyright (c) 2020, Arm Limited. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6 7USE_TBBR_DEFS := 1 8$(eval $(call add_define,USE_TBBR_DEFS)) 9 10ifeq (${USE_TBBR_DEFS},1) 11# In this case, cert_tool is platform-independent 12PLAT_MSG := TBBR Generic 13PLAT_INCLUDE := ../../include/tools_share 14else 15PLAT_MSG := ${PLAT} 16 17TF_PLATFORM_ROOT := ../../plat/ 18include ${MAKE_HELPERS_DIRECTORY}plat_helpers.mk 19 20PLAT_INCLUDE := $(wildcard ${PLAT_DIR}include) 21 22ifeq ($(PLAT_INCLUDE),) 23 $(error "Error: Invalid platform '${PLAT}' has no include directory.") 24endif 25endif 26 27OBJECTS += src/tbbr/tbb_cert.o \ 28 src/tbbr/tbb_ext.o \ 29 src/tbbr/tbb_key.o 30